- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 sklearn.preprocessing 数据预处理
目录 一、标准化(Z-Score) 二、归一化 三、正则化 一、标准化(Z-Score) 公式为:(X-mean)/std 计算时对每个属性/每列分别进行。 将数据按期属性(按列进行)减去其均值,并处以其方差。得到的结果是,对于每个属性/每列来说所有数据都聚集在0附近,方差为1。 实现时,有两种不同的方式: 使用sklearn.preprocessing.scale()函数,可以直接将给定数据进行标准化。sklearn.preprocessing.scale 使用sklear.
2020-12-18 18:10:10 491 1
原创 pandas.date_range freq
pandas.date_range(start=None, end=None, periods=None, freq=None, tz=None, normalize=False, name=None, closed=None, **kwargs) 返回固定频率的DatetimeIndex。 这个函数的作用就是产生一个DatetimeIndex,就是时间序列数据的索引。 Parameters:start:str or datetime-like, optional Left bound for gene.
2020-12-18 17:41:22 475 1
原创 matplotlib画图
python中matplotlib的颜色及线条控制: 参考https://www.cnblogs.com/darkknightzh/p/6117528.html
2020-12-16 16:05:33 130
原创 Jupyter Notebook not saving: ‘_xsrf‘ argument missing from post
https://stackoverflow.com/questions/55014094/jupyter-notebook-not-saving-xsrf-argument-missing-from-post 操作:参考了以上建议,刷新了jupyter页面,便可以进行保存。
2020-12-01 12:13:24 195
LaTeX文档.zip
2019-10-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人