会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Picassooo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
36
37
38
39
40
41
42
43
44
···
72
下一页
2021年3月20日
KNN, sklearn
摘要: 参考资料: sklearn调包侠之KNN算法 深入浅出KNN算法(一) KNN算法原理 深入浅出KNN算法(二) sklearn KNN实践 KNN的原理就是当预测一个新的值x的时候,根据它距离最近的K个点是什么类别来判断x属于哪个类别。 KNN是有监督学习中的分类算法,也就是已知训练样本的labe
阅读全文
posted @ 2021-03-20 11:46 Picassooo
阅读(89)
评论(0)
推荐(0)
2021年3月14日
转:matplotlib, 去除plt.savefig()的白边
摘要: matplotlib, 去除plt.savefig()的白边
阅读全文
posted @ 2021-03-14 14:57 Picassooo
阅读(1093)
评论(0)
推荐(0)
2021年3月3日
转:Latex 表格 合并行/列
摘要: Latex Table 合并行/列 LaTeX技巧:如何隔开LaTeX表格邻近\cline表格线? 在 LaTeX 中插入表格
阅读全文
posted @ 2021-03-03 20:25 Picassooo
阅读(589)
评论(0)
推荐(0)
转:LaTeX xcolor颜色介绍
摘要: LaTeX:xcolor颜色介绍
阅读全文
posted @ 2021-03-03 20:21 Picassooo
阅读(284)
评论(0)
推荐(0)
2021年2月26日
余弦相似性,cos距离函数
摘要: 余弦相似性: 只适用于A和B的各个元素都为正的情况。 对于A和B的元素可能为负的情况,可采用下面的cos距离函数:
阅读全文
posted @ 2021-02-26 16:05 Picassooo
阅读(286)
评论(0)
推荐(0)
2021年2月18日
python confusion matrix 混淆矩阵
摘要: 【1】混淆矩阵(Confusion Matrix)概念 【2】 混淆矩阵-百度百科 【3】 Python中生成并绘制混淆矩阵(confusion matrix) 【4】 使用python绘制混淆矩阵(confusion_matrix) 示例: Python画混淆矩阵程序示例,摘自【4】。 from
阅读全文
posted @ 2021-02-18 16:56 Picassooo
阅读(5414)
评论(0)
推荐(0)
2021年2月9日
转:Tmux 使用教程
摘要: Tmux 使用教程 创建tmux: tmux new -s 名字 进入已创建的tmux: tmux a -t 名字 临时退出tmux: tmux detach 杀死tmux。如果在tmux外: tmux kill-session -t 名字 ;如果在tmux内: ctrl + d 列出已有的tmux
阅读全文
posted @ 2021-02-09 20:59 Picassooo
阅读(145)
评论(0)
推荐(0)
转:pytorch 显存的优化利用,torch.cuda.empty_cache()
摘要: torch.cuda.empty_cache()的作用 【摘自https://zhuanlan.zhihu.com/p/76459295】 显存优化 可参考: pytorch 减小显存消耗,优化显存使用,避免out of memory 再次浅谈Pytorch中的显存利用问题(附完善显存跟踪代码)
阅读全文
posted @ 2021-02-09 12:53 Picassooo
阅读(2667)
评论(0)
推荐(0)
转:python内存管理
摘要: Python的内存管理(文章清晰简单) python内存管理,引用计数,循环引用,内存泄漏调试
阅读全文
posted @ 2021-02-09 12:14 Picassooo
阅读(52)
评论(0)
推荐(0)
2021年2月7日
转:python numpy.where()函数的用法
摘要: python numpy.where()函数的用法
阅读全文
posted @ 2021-02-07 22:42 Picassooo
阅读(142)
评论(0)
推荐(0)
上一页
1
···
36
37
38
39
40
41
42
43
44
···
72
下一页
公告