首页 > 解决方案 > 如何使用 auto_timeseries model.predict 获得大于测试数据集日期范围的数据范围的预测?

问题描述

我正在使用 auto_timeseries 模型来找到最适合我的时间序列数据集的模型。在进行如下预测时

predictions = model.predict( testdata = can be either a dataframe or an integer standing for the forecast_period, model = 'best' or any other string that stands for the trained model )

参数testdata仅给出测试数据集中存在的数据范围的预测,即使为testdata提供更大的整数值,并且在文档中给出如下所示。

testdata(必需):它可以是包含测试数据的数据框,也可以使用整数代表 forecast_period(您想要)。

那么是否有可能在 auto_timeseries 模型中获得大于测试数据集日期范围的数据范围的预测?

谢谢!

标签: pythontime-seriesdata-sciencepredictionforecast

解决方案


推荐阅读