public interface OverlayForecaster
Modifier and Type | Method and Description |
---|---|
List<List<weka.classifiers.evaluation.NumericPrediction>> |
forecast(int numSteps,
weka.core.Instances overlay,
PrintStream... progress)
Produce a forecast for the target field(s).
|
String |
getOverlayFields()
Get a comma-separated list of fields that considered to be overlay
fields
|
boolean |
isUsingOverlayData()
Returns true if this forecaster has been trained with data containing
overlay fields, and thus will expect to be provided with future values
for these fields when making a forecast.
|
void |
setOverlayFields(String overlayFields)
Set the fields to consider as overlay fields
|
List<List<weka.classifiers.evaluation.NumericPrediction>> forecast(int numSteps, weka.core.Instances overlay, PrintStream... progress) throws Exception
numSteps
- number of forecasted values to produce for each target. E.g.
a value of 5 would produce a prediction for t+1, t+2, ..., t+5.overlay
- instances in the same format as the training data containing
values for overlay attributes for the time steps to be forecastedprogress
- an optional varargs parameter supplying progress objects
to report/log toException
- if the forecast can't be produced for some reason.boolean isUsingOverlayData()
void setOverlayFields(String overlayFields) throws Exception
overlayFields
- a comma-separated list of field namesException
- if there is a problem setting the overlay fieldsString getOverlayFields()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.