为什么Amazon Forecast无法训练预测变量? [英] Why Amazon Forecast cannot train the predictor?

查看:119
本文介绍了为什么Amazon Forecast无法训练预测变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在训练我的预测变量时,我遇到了这个错误,并且卡住了如何解决它的问题.

While training my predictor I came across this error and I got stuck how to fix it.

我有两个数据系列,一个是目标时间序列数据",具有9234行,一个是"item_id",另一个是相关时间序列数据",具有与我只有相同的行数一个ID.

I have two data-series, a "Target time-series data" with 9234 rows and a single "item_id" and a second one that is "Related time-series data" with the same number of rows as I only have a single id.

我正在设置180天的数据窗口,错误中出现的第二个和第一个数字之间的确切区别是9414-9234 = 180.

I'm setting de data with a window of 180 days, what is exactly the difference between the second and the first number that has appeared on the error, 9414 - 9234 = 180.

We were unable to train your predictor.
Please ensure there are no missing values for any items in the related time series, All items need data until 2020-03-15 00:00:00.0. For example, following items have missing data: item: brl only has 9234/9414 required datapoints starting 1994-06-07 00:00:00.0, please refer to documentation for additional details.

一旦我的数据没有丢失的数据,并且每天都会为什么返回此错误?我的数据开始于1994-06-07,结束于2019-09-17.为什么我应该有9414个数据点而不是9234个?我应该在目标时间序列数据"中删除180天吗?

Once my data don't have missing data and it's on a daily basis why is it returning this error? My data starts on 1994-06-07 and ends on 2019-09-17. Why should I have 9414 data points rather than 9234? Should I take out 180 days in my "Target time-series data"?

推荐答案

相关时间序列数据的将来值必须已知.

The future values of the related time-series data must be known.

良好的相关时间序列示例:您知道过去和将来的日子,行销活动已经或将要发送电子邮件时事通讯来宣传您所预测的产品.您可以将此数据用作相关时间序列.

Example of a good related-time series: You know past and future days in which marketing has or will send email newsletters promoting the product you're forecasting. You can use this data as a related-time series.

相关时间序列不正确的示例:您注意到Google搜索与您的产品销售相关的品牌.因此,您要将其用作相关时间序列.由于您不知道将来会进行多少次搜索,因此您不能将其用作相关的时间序列.

Example of a bad related-time series: You notice that Google searches for your brand correlated with the sale of your product. As a result you want to use it as a related-time series. Since you don't know how many searches will occur in the future, so you can't use this as a related time series.

在这种情况下,您拥有9414天的TARGET_TIME_SERIES数据,并且您希望预测接下来180天的需求.这意味着您的RELATED_TIME_SERIES数据应为9594天.

In you case, You have TARGET_TIME_SERIES data for 9414 days and you want to predict demand for the next 180 days. That means your RELATED_TIME_SERIES data should be 9594 days.

我尚未使用亚马逊的预测产品对此进行测试.我的答案基于与Facebook Prophet(这是亚马逊预测使用的模型之一)合作的基础.请让我知道我的解决方案是否有效.

I have not tested this with amazon's forecasting product. I'm basing my answer on working with Facebook Prophet (which is one of the models amazon forcast uses). Please let me know if my solution worked.

这篇关于为什么Amazon Forecast无法训练预测变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆