public class WekaForecastingModel extends Object implements Serializable
Constructor and Description |
---|
WekaForecastingModel(weka.classifiers.timeseries.TSForecaster model)
Creates a new
WekaForecastingModel instance. |
Modifier and Type | Method and Description |
---|---|
List<String> |
getForecastedFields()
Get a list of the field names that the encapsulated forecaster
can predict.
|
weka.core.Instances |
getHeader()
Get the header of the Instances that was used
build this Weka model
|
weka.classifiers.timeseries.TSForecaster |
getModel()
Get the forecasting model
|
boolean |
isProducingConfidenceIntervals()
Returns true if the encapsulated model can and is producing
confidence intervals on its forcasted values.
|
void |
setHeader(weka.core.Instances header)
Set the Instances header
|
void |
setLog(org.pentaho.di.core.logging.LogChannelInterface log)
Set the log to pass on to the model.
|
void |
setModel(weka.classifiers.timeseries.TSForecaster model)
Set the forecasting model
|
String |
toString()
Return a textual description of the encapsulated forecasting model
|
public WekaForecastingModel(weka.classifiers.timeseries.TSForecaster model)
WekaForecastingModel
instance.model
- the actual Weka model to enacpsulatepublic void setLog(org.pentaho.di.core.logging.LogChannelInterface log)
log
- the log to usepublic void setHeader(weka.core.Instances header)
header
- an Instances
valuepublic weka.core.Instances getHeader()
Instances
valuepublic void setModel(weka.classifiers.timeseries.TSForecaster model)
model
- the forecasting modelpublic weka.classifiers.timeseries.TSForecaster getModel()
public List<String> getForecastedFields()
public boolean isProducingConfidenceIntervals()