public class PowerNormalization extends java.lang.Object implements IFeatureScaling
| Constructor and Description |
|---|
PowerNormalization()
Initializes a new instance of the PowerNormalization class.
|
PowerNormalization(double power)
Initializes a new instance of the PowerNormalization 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.
|
double |
getPower()
Get power.
|
void |
setPower(double power)
Set power.
|
public PowerNormalization()
public PowerNormalization(double power)
power - Power.public double getPower()
public void setPower(double power)
power - Power.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.