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)
Normalisernormalise in interface Normaliservector - the vectorpublic double[][] normalise(double[][] data)
Normalisernormalise in interface Normaliserdata - the data (one vector per row)