How do I include historical related data and forward looking related data in amazon forecast

0

I am trying to forecast sales using amazon forecast. I am using RETAIL Domain. I have prepared demand data and item metadata and imported. While importing related data I have stock and price, where I have stock for only history but there is forward looking values for prices.

I am not sure how to include this two data in related time series data. Amazon has documentation that says we can pass historical and forward looking timeseries data (https://docs.aws.amazon.com/forecast/latest/dg/related-time-series-datasets.html#related-time-series-historical-futurelooking) but I couldn't find the way to do it.

질문됨 일 년 전371회 조회
1개 답변
0

In a typical retail case I would see 2 main ways stock level can affect sales/demand:

  1. When stock runs out, sales are artificially 0 even though underlying demand may be high.
    • Availability is very important to incorporate in demand forecasting models, to avoid under-forecasting potential sales.
  2. If stock is in excess, maybe stores run extra promos to try and shift it?
    • This could actually be a harmful feedback loop retailers might like to avoid? Especially if it results in discounts / reduced margin.

As a result, I would usually suggest users to try a 0-1 "is stock available" feature for demand forecasting - rather than using raw inventory counts. It doesn't necessarily have to be binary - you could set intermediate values e.g. 0.2 when your inventory is so low there might be issues getting it on the shelf or it might be a actually be a mis-count and stock has run out.

I think this would solve your issue because then it becomes very natural to forecast this RTS forward: Just set always 1 in future to encourage your model to predict possible sales (i.e demand) if you have stock available to meet it.


Of course every business is different, so maybe you have some good reasons to include actual stock level in your demand forecast - or other fields that you can't forecast forward. I believe you should be able to just leave these specific fields empty in your CSV? e.g:

timestamp,item_id,stock,price
2050-01-01,P12345,,10.99
AWS
전문가
Alex_T
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인