public class DyadMinMaxScaler extends AbstractDyadScaler
statsX, statsY| Constructor and Description |
|---|
DyadMinMaxScaler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrettyMaximaString()
Returns a String the maxima of all features this scaler has been fit to.
|
java.lang.String |
getPrettyMinimaString()
Returns a String for the minima of all features this scaler has been fit to.
|
void |
transformAlternatives(Dyad dyad,
java.util.List<java.lang.Integer> ignoredIndices)
Transforms only the alternatives of each dyad according to the mean and
standard deviation of the data the scaler has been fit to.
|
void |
transformInstaceVector(ai.libs.jaicore.math.linearalgebra.Vector vector,
java.util.List<java.lang.Integer> ignoredIndices)
Transforms an instance feature vector.
|
void |
transformInstances(Dyad dyad,
java.util.List<java.lang.Integer> ignoredIndices)
Transforms only the instances of each dyad according to the mean and standard
deviation of the data the scaler has been fit to.
|
void |
untransform(DyadRankingDataset dataset) |
void |
untransformAlternative(Dyad dyad)
Undoes the transformation on the alternative of a single dyad.
|
void |
untransformAlternative(Dyad dyad,
int decimals)
Undoes the transformation on the alternative of a single dyad.
|
void |
untransformAlternatives(DyadRankingDataset dataset)
Undoes the transformation of the alternatives of each dyad.
|
void |
untransformAlternatives(DyadRankingDataset dataset,
int decimals)
Undoes the transformation of the alternatives of each dyad.
|
void |
untransformInstance(Dyad dyad)
Undoes the transformation of the instance of a single dyad.
|
void |
untransformInstance(Dyad dyad,
int decimals)
Undoes the transformation of the instance of a single dyad.
|
void |
untransformInstances(DyadRankingDataset dataset)
Undoes the transformation of the instances of each dyad.
|
void |
untransformInstances(DyadRankingDataset dataset,
int decimals)
Undoes the transformation of the instances of each dyad.
|
fit, fitTransform, getPrettyMeansString, getPrettySTDString, getStatsX, getStatsY, transform, transformAlternatives, transformAlternatives, transformAlternatives, transformInstances, transformInstances, transformInstances, transformInstancespublic void untransform(DyadRankingDataset dataset)
public void untransformInstances(DyadRankingDataset dataset)
dataset - public void untransformInstances(DyadRankingDataset dataset, int decimals)
dataset - decimals - number of decimal places for roundingpublic void untransformInstance(Dyad dyad)
dyad - public void untransformInstance(Dyad dyad, int decimals)
dyad - decimals - number of decimal places for roundingpublic void untransformAlternatives(DyadRankingDataset dataset)
dataset - public void untransformAlternatives(DyadRankingDataset dataset, int decimals)
dataset - decimals - number of depublic void untransformAlternative(Dyad dyad)
dyad - public void untransformAlternative(Dyad dyad, int decimals)
dyad - public java.lang.String getPrettyMaximaString()
public java.lang.String getPrettyMinimaString()
public void transformInstances(Dyad dyad, java.util.List<java.lang.Integer> ignoredIndices)
AbstractDyadScalertransformInstances in class AbstractDyadScalerignoredIndices - The List of indices that are been ignored by
the scaler.public void transformAlternatives(Dyad dyad, java.util.List<java.lang.Integer> ignoredIndices)
AbstractDyadScalertransformAlternatives in class AbstractDyadScalerignoredIndices - The List of indices that are been ignored by
the scaler.public void transformInstaceVector(ai.libs.jaicore.math.linearalgebra.Vector vector,
java.util.List<java.lang.Integer> ignoredIndices)
AbstractDyadScalertransformInstaceVector in class AbstractDyadScaler