摘要: 安装nbextensions在 Anaconda Prompt 中输入如下指令:pip install jupyter_contrib_nbextensionsjupyter contrib nbextension install --user 安装nbextensions_configurator 阅读全文
posted @ 2021-02-22 19:42 emanlee 阅读(761) 评论(0) 推荐(0)
摘要: 在pandas版本0.20.0及其以后版本中,ix已经不被推荐使用,建议采用iloc和loc实现ix。 predictions_ARIMA_log = pd.Series(ts_log.ix[0],index=ts_log.index)predictions_ARIMA_log = predicti 阅读全文
posted @ 2021-02-22 10:05 emanlee 阅读(2184) 评论(0) 推荐(0)
摘要: change: moving_avg = pd.rolling_mean(ts_log,12) to: moving_avg = ts_log.rolling(12).mean() 阅读全文
posted @ 2021-02-22 09:48 emanlee 阅读(1024) 评论(0) 推荐(0)
摘要: model.fit(trainX, trainY, nb_epoch=200, batch_size=2, verbose=2) It's just epochs now. nb_epoch was deprecated years ago. 把 nb_epoch 修改 为 epochs 阅读全文
posted @ 2021-02-22 09:25 emanlee 阅读(4774) 评论(0) 推荐(0)