public class VectorNormalization extends java.lang.Object implements IFeatureScaling
| Constructor and Description |
|---|
VectorNormalization()
Initializes a new instance of the VectorNormalization class.
|
VectorNormalization(int l)
Initializes a new instance of the VectorNormalization class.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
Apply(DecisionVariable[] variables,
double[][] data)
Apply the normalization.
|
double[][] |
Apply(double[][] data)
Apply the normalization.
|
void |
ApplyInPlace(DecisionVariable[] variables,
double[][] data)
Apply the normalization in place of the original data.
|
void |
ApplyInPlace(double[][] data)
Apply the normalization in place of the original data.
|
double[] |
Compute(DecisionVariable[] variables,
double[] feature)
Normalize the feature.
|
double[] |
Compute(double[] feature)
Normalize the feature.
|
int |
getOrder()
Get the order of the normalization.
|
void |
setOrder(int l)
Set the order of the normalization.
|
public VectorNormalization()
public VectorNormalization(int l)
l - Order.public int getOrder()
public void setOrder(int l)
l - Order.public double[][] Apply(double[][] data)
IFeatureScalingApply in interface IFeatureScalingdata - Data to be normalized.public double[][] Apply(DecisionVariable[] variables, double[][] data)
IFeatureScalingApply in interface IFeatureScalingvariables - Decision variables.data - Data to be normalized.public void ApplyInPlace(double[][] data)
IFeatureScalingApplyInPlace in interface IFeatureScalingdata - Data to be normalized.public void ApplyInPlace(DecisionVariable[] variables, double[][] data)
IFeatureScalingApplyInPlace in interface IFeatureScalingvariables - Decision variables.data - Data to be normalized.public double[] Compute(double[] feature)
IFeatureScalingCompute in interface IFeatureScalingfeature - Feature to be normalized.public double[] Compute(DecisionVariable[] variables, double[] feature)
IFeatureScalingCompute in interface IFeatureScalingvariables - Decision variables.feature - Feature.