时间序列预测(一)数据的一些处理方法

一、滑动平均 公式(窗口为7): 也就是说7个数做一次平均   二、指数平均 公式: 其中 因此 也就是说离本点越近,考虑的权重也越大。   python code: # author: adrian.wu import numpy as np from matplotlib import pyplot as plt import pandas as pd """ count : count(1
相关文章
相关标签/搜索