|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataProvider
An interface describing a set of methods creating data collections required by the forecast evaluator to prepare the prediction.
Method Summary | |
---|---|
net.sourceforge.openforecast.DataPoint |
getFuturePoint(java.lang.String productId,
java.util.Date startDate,
int periodLength,
net.sourceforge.openforecast.DataSet historicalData)
Creates a DataPoint containing the known (independent) future variables used by
the forecast evaluator to predict the sales volume of a product. |
net.sourceforge.openforecast.DataSet |
getHistoricalData(java.lang.String productId,
java.util.Date startDate,
int periodLength)
Creates a DataSet containing historical data needed to perform the forecast. |
Method Detail |
---|
net.sourceforge.openforecast.DataSet getHistoricalData(java.lang.String productId, java.util.Date startDate, int periodLength) throws java.lang.Exception
DataSet
containing historical data needed to perform the forecast.
productId
- the global id of the product to be forecastedstartDate
- the date starting from which the sales should be forecastedperiodLength
- the length (in days) of the forecast period
DataSet
containing historical data needed to perform the forecast
java.lang.Exception
- when the retrieval of the data was unsuccessfulnet.sourceforge.openforecast.DataPoint getFuturePoint(java.lang.String productId, java.util.Date startDate, int periodLength, net.sourceforge.openforecast.DataSet historicalData) throws java.lang.Exception
DataPoint
containing the known (independent) future variables used by
the forecast evaluator to predict the sales volume of a product.
productId
- the global id of the product to be forecastedstartDate
- the date starting from which the sales should be forecastedperiodLength
- the length (in days) of the forecast period
DataSet
containing historical data needed to perform the forecast
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |