public class MultiNormalizer extends BaseDatasetNormalizer
Usage: -norm <method 1> [<options 1...>] [-norm <method
2> [<options 2...>] ] <...>
Constructor and Description |
---|
MultiNormalizer() |
Modifier and Type | Method and Description |
---|---|
void |
addNormalizer(BaseDatasetNormalizer norm)
Add a new normalizer to this multi normalizer.
|
protected void |
normalizeAttributes(Dataset Data)
Perform the actual normalization on the attributes
|
protected void |
normalizeClassVariable(Dataset Data)
Perform the actual normalization on the class variable.
|
java.lang.String |
printUsage()
Print out required format for options.
|
protected void |
restoreAttributes(Dataset Data)
Perform the actual restoration on the attributes
|
protected void |
restoreClassVariable(Dataset Data)
Perform the actual restoration on the class variables (measured and predicted!)
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
protected void |
trainOnAttributes(Dataset Data)
Perform the actual training work for attributes.
|
protected void |
trainOnMeasuredClass(Dataset Data)
Perform the actual training work for the class variable.
|
about, clone, isTrained, normalize, printCommand, printDescription, restore, runCommand, setToNormalizeAttributes, setToNormalizeClass, test, train, willNormalizeAttributes, willNormalizeClass
public void setOptions(java.util.List<java.lang.Object> 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
protected void trainOnAttributes(Dataset Data)
BaseDatasetNormalizer
trainOnAttributes
in class BaseDatasetNormalizer
Data
- Training setprotected void trainOnMeasuredClass(Dataset Data)
BaseDatasetNormalizer
NOTE: Use the measured class variable to train normalizer.
trainOnMeasuredClass
in class BaseDatasetNormalizer
Data
- Training setpublic void addNormalizer(BaseDatasetNormalizer norm)
norm
- New normalizerprotected void normalizeAttributes(Dataset Data)
BaseDatasetNormalizer
normalizeAttributes
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void normalizeClassVariable(Dataset Data)
BaseDatasetNormalizer
normalizeClassVariable
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void restoreAttributes(Dataset Data)
BaseDatasetNormalizer
restoreAttributes
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void restoreClassVariable(Dataset Data)
BaseDatasetNormalizer
restoreClassVariable
in class BaseDatasetNormalizer
Data
- Dataset to be transformed