public class InverseNormalizer extends BaseDatasetNormalizer
This class was originally used to normalize data that lies on an exponential
distribution.
Usage: <scale>
| Constructor and Description |
|---|
InverseNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
double |
getScale()
Get scale factor used when inverting data
|
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.
|
void |
setScale(double s)
Define scale of attributes / class.
|
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, willNormalizeClasspublic void setOptions(java.util.List<java.lang.Object> Options)
throws java.lang.Exception
OptionsOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
Optionspublic void setScale(double s)
s - Desired scale factorpublic double getScale()
protected void trainOnMeasuredClass(Dataset Data)
BaseDatasetNormalizerNOTE: Use the measured class variable to train normalizer.
trainOnMeasuredClass in class BaseDatasetNormalizerData - Training setprotected void trainOnAttributes(Dataset Data)
BaseDatasetNormalizertrainOnAttributes in class BaseDatasetNormalizerData - Training setprotected void normalizeAttributes(Dataset Data)
BaseDatasetNormalizernormalizeAttributes in class BaseDatasetNormalizerData - Dataset to be transformedprotected void restoreAttributes(Dataset Data)
BaseDatasetNormalizerrestoreAttributes in class BaseDatasetNormalizerData - Dataset to be transformedprotected void normalizeClassVariable(Dataset Data)
BaseDatasetNormalizernormalizeClassVariable in class BaseDatasetNormalizerData - Dataset to be transformedprotected void restoreClassVariable(Dataset Data)
BaseDatasetNormalizerrestoreClassVariable in class BaseDatasetNormalizerData - Dataset to be transformed