public class PerExampleMeanCenter extends Object implements Normaliser
Only use if the data is stationary (i.e., the statistics for each data dimension follow the same distribution).
Constructor and Description |
---|
PerExampleMeanCenter() |
Modifier and Type | Method and Description |
---|---|
double[] |
normalise(double[] vector)
Normalise the vector.
|
double[][] |
normalise(double[][] data)
Normalise the data.
|
public PerExampleMeanCenter()
public double[] normalise(double[] vector)
Normaliser
normalise
in interface Normaliser
vector
- the vectorpublic double[][] normalise(double[][] data)
Normaliser
normalise
in interface Normaliser
data
- the data (one vector per row)