![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 91
Cold姜
这个作者很懒,什么都没留下…
展开
-
数据挖掘之时间序列模型(最全流程分析)
时间序列模型一、获取数据源二、缺失值处理三、检验序列的稳定性四、序列平稳化五、参数寻优六、建立模型七、模型检验八、模型预测美股封盘(close)数据获取数据源—>缺失值处理—>检验数据稳定性—>序列平稳—>参数寻优—>建立模型—>模型检验—>模型预测一、获取数据源#以谷歌美股封盘数据来构建时间序列模型|导入库包from pandas_datareader import datafrom statsmodels.graphics.tsaplots impo原创 2020-08-11 16:01:37 · 5759 阅读 · 1 评论 -
减小文件导入内存
Python-减小数据读取时占用内存减小数据读取时占用内存减小数据读取时占用内存class ReduceUsage(object): def __init__(self, **kwargs): self.file = kwargs.get('file') self.encoding = kwargs.get('encoding') def reduce_mem_usage(self): """ iterate原创 2020-07-17 09:53:23 · 230 阅读 · 0 评论