public class StandardScalerModel extends Object implements VectorTransformer
Modifier and Type | Method and Description |
---|---|
Vector |
mean() |
Vector |
transform(Vector vector)
Applies standardization transformation on a vector.
|
Vector |
variance() |
boolean |
withMean() |
boolean |
withStd() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transform
public boolean withMean()
public boolean withStd()
public Vector mean()
public Vector variance()
public Vector transform(Vector vector)
transform
in interface VectorTransformer
vector
- Vector to be standardized.0.0
for the column with zero variance.