12 2020 档案

摘要:1. matplotlib 的默认颜色 color 方案 这里仅截取如下代码片段: ... colors = ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', # 使用颜色编码定义颜色 '#8c564b', '#e377c2', '#7f 阅读全文
posted @ 2020-12-23 10:28 Gelthin 阅读(18966) 评论(0) 推荐(0)
摘要:Windows-powershell 告别 Windows 难看难用,教你打造体验不输 macOS 和 Linux 的终端 Windows 为我们提供了一个默认的 PowerShell 终端,可以在 Windows 开始菜单上右键,点击「Windows PowerShell」打开。虽然默认终端有很多 阅读全文
posted @ 2020-12-16 21:49 Gelthin 阅读(145) 评论(0) 推荐(0)
摘要:利用重定向功能,print 输出可以保存到 txt 如何将array保存到txt文件中?如何将存到txt文件中的数据读出为ndarray类型? 需求:科学计算中,往往需要将运算结果(array类型)保存到本地,以便进行后续的数据分析。 解决:直接用numpy中的方法。 numpy.savetxt(f 阅读全文
posted @ 2020-12-15 16:18 Gelthin 阅读(275) 评论(0) 推荐(0)
摘要:1. 机器学习 书籍: 机器学习(西瓜书) 统计学习方法(蓝宝书) 模式识别 Pattern Recognition and Machine Learning (PRML) Elements of Statistical Learning (ESL, 统计学派) Machine Learning: 阅读全文
posted @ 2020-12-02 20:25 Gelthin 阅读(341) 评论(0) 推荐(0)