public class DyadUnitIntervalScaler extends AbstractDyadScaler
statsX, statsY| Constructor and Description |
|---|
DyadUnitIntervalScaler() |
| Modifier and Type | Method and Description |
|---|---|
void |
fit(DyadRankingDataset dataset)
Fits the standard scaler to the dataset.
|
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 |
transformAlternatives(DyadRankingDataset dataset,
java.util.List<java.lang.Integer> ignoredIndices)
Transforms only the alternatives of each dyad in a
DyadRankingDataset 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 |
transformInstances(DyadRankingDataset dataset,
java.util.List<java.lang.Integer> ignoredIndices)
Transforms only the instances of each dyad in a
DyadRankingDataset according to the mean and standard
deviation of the data the scaler has been fit to. |
fitTransform, getPrettyMeansString, getPrettySTDString, getStatsX, getStatsY, transform, transformAlternatives, transformAlternatives, transformInstances, transformInstances, transformInstancespublic void fit(DyadRankingDataset dataset)
AbstractDyadScalerfit in class AbstractDyadScalerdataset - The dataset the scaler should be fit to.public void transformInstances(DyadRankingDataset dataset, java.util.List<java.lang.Integer> ignoredIndices)
AbstractDyadScalerDyadRankingDataset according to the mean and standard
deviation of the data the scaler has been fit to. The attributes with indices
contained in ignoredIndices are not transformed. {transformInstances in class AbstractDyadScalerdataset - The dataset of which the alternatives are to be
standardized.ignoredIndices - The List of indices that are been ignored by
the scaler.public void transformAlternatives(DyadRankingDataset dataset, java.util.List<java.lang.Integer> ignoredIndices)
AbstractDyadScalerDyadRankingDataset according to the mean and standard
deviation of the data the scaler has been fit to. The attributes with indices
contained in ignoredIndices are not transformed. {transformAlternatives in class AbstractDyadScalerdataset - The dataset of which the alternatives are to be
standardized.ignoredIndices - 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 AbstractDyadScalerpublic 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.