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, 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
public void setScale(double s)
s
- Desired scale factorpublic double getScale()
protected void trainOnMeasuredClass(Dataset Data)
BaseDatasetNormalizer
NOTE: Use the measured class variable to train normalizer.
trainOnMeasuredClass
in class BaseDatasetNormalizer
Data
- Training setprotected void trainOnAttributes(Dataset Data)
BaseDatasetNormalizer
trainOnAttributes
in class BaseDatasetNormalizer
Data
- Training setprotected void normalizeAttributes(Dataset Data)
BaseDatasetNormalizer
normalizeAttributes
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void restoreAttributes(Dataset Data)
BaseDatasetNormalizer
restoreAttributes
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void normalizeClassVariable(Dataset Data)
BaseDatasetNormalizer
normalizeClassVariable
in class BaseDatasetNormalizer
Data
- Dataset to be transformedprotected void restoreClassVariable(Dataset Data)
BaseDatasetNormalizer
restoreClassVariable
in class BaseDatasetNormalizer
Data
- Dataset to be transformed