Skip to content

Commit

Permalink
在服务器上修改bug,测试完成。
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 22, 2020
1 parent f2fb7e1 commit 4f98a60
Show file tree
Hide file tree
Showing 37 changed files with 4 additions and 4 deletions.
Binary file modified 11/AR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/AR_predict.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/AbsoluteChange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Arima_predict.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Compare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/DynamicFactor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/ExpandingMicrosoft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Kansas_humidity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/NormalizedCompare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Return1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Return2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/RollongGoogle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/Var_predict.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/acf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/arma_forcast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/decomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/google_arma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/google_trend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/humid_arma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/ma1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/ma_forcast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/ms_pacf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/nonstationary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/pacf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 11/percent.png
Binary file modified 11/random_hist.png
Binary file modified 11/random_walk.png
Binary file modified 11/sarimax.png
Binary file modified 11/sarimax_test.png
Binary file modified 11/shifted.png
Binary file modified 11/stationary.png
8 changes: 4 additions & 4 deletions 11/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 上面设matplotlib的模板,对可视化时间序列数据很有用。
from pylab import rcParams
#from plotly import tools
import chart_studio.plotly as py
#import chart_studio.plotly as py
#from plotly.offline import init_notebook_mode, iplot
# init_notebook_mode(connected = True)
#import plotly.graph_objs as go
Expand All @@ -26,7 +26,7 @@
from statsmodels.tsa.arima_model import ARIMA
import math
# import mpl_finance as mpf
# from sklearn.metrics import mean_squared_error
from sklearn.metrics import mean_squared_error


if __name__ == "__main__":
Expand Down Expand Up @@ -445,6 +445,6 @@
fig = result.plot_diagnostics()
fig.savefig("DynamicFactor.png")
# 计算误差
rmse = math.sqrt(mean_squared_error(train_sample[1:502], predicted_result))
rmse = math.sqrt(mean_squared_error(train_sample[1:1002], predicted_result))
print("The root mean squared error is {}.".format(rmse))


Binary file modified 11/unobserve.png
Binary file modified 11/unobserve_test.png
Binary file modified 11/whitenoise.png
Binary file modified 11/wn_acf.png

0 comments on commit 4f98a60

Please sign in to comment.