ibspan.ecap.merchant.shopdecisions.forecasting
Interface HorizonEstimator
- All Known Implementing Classes:
- FixedHorizonEstimator, StationaryHorizonEstimator
public interface HorizonEstimator
Defines a method to estimate a forecast horizon / period for a specified product and forecast
starting date.
- Author:
- Micha³ Drozdowicz
Method Summary |
int |
estimateHorizon(java.lang.String productId,
java.util.Date forecastStart)
Returns the forecast period length (in days) for the prediction of the given product
starting at the specified date. |
estimateHorizon
int estimateHorizon(java.lang.String productId,
java.util.Date forecastStart)
throws DataLoadException
- Returns the forecast period length (in days) for the prediction of the given product
starting at the specified date.
- Parameters:
productId
- the id of the product whose sales are forecastedforecastStart
- the date when the forecast starts
- Returns:
- the forecast period length (in days) to use for the prediction
- Throws:
DataLoadException