public class ErrorSignalModifier extends BaseDatasetModifier
For MultiPropertyDatasets, adds a new property: ErrorSignal
Usage: $<model> <absolute|relative>
Constructor and Description |
---|
ErrorSignalModifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
modifyDataset(Dataset Data)
Apply changes to the Dataset.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setModel(BaseModel Model)
Set the model used to make predictions.
|
void |
setOptions(java.util.List Options)
Set any options for this object.
|
void |
useAbsoluteError()
Set filter to compute absolute error.
|
void |
useRelativeError()
Set filter to computer relative error.
|
transform
public void setOptions(java.util.List Options) throws java.lang.Exception
Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
public void useAbsoluteError()
public void useRelativeError()
public void setModel(BaseModel Model)
Model
- Link to a model (will be cloned)protected void modifyDataset(Dataset Data)
BaseDatasetModifier
modifyDataset
in class BaseDatasetModifier
Data
- Dataset to be modified