public class StandardScalerModel extends Object implements VectorTransformer
param: std column standard deviation values param: mean column mean values param: withStd whether to scale the data to have unit standard deviation param: withMean whether to center the data before scaling
| Constructor and Description | 
|---|
| StandardScalerModel(Vector std) | 
| StandardScalerModel(Vector std,
                   Vector mean) | 
| StandardScalerModel(Vector std,
                   Vector mean,
                   boolean withStd,
                   boolean withMean) | 
| Modifier and Type | Method and Description | 
|---|---|
| Vector | mean() | 
| StandardScalerModel | setWithMean(boolean withMean) | 
| StandardScalerModel | setWithStd(boolean withStd) | 
| Vector | std() | 
| Vector | transform(Vector vector)Applies standardization transformation on a vector. | 
| boolean | withMean() | 
| boolean | withStd() | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransform, transformpublic StandardScalerModel(Vector std, Vector mean, boolean withStd, boolean withMean)
public StandardScalerModel(Vector std, Vector mean)
std - (undocumented)mean - (undocumented)public StandardScalerModel(Vector std)
public Vector mean()
public StandardScalerModel setWithMean(boolean withMean)
public StandardScalerModel setWithStd(boolean withStd)
public Vector std()
public Vector transform(Vector vector)
transform in interface VectorTransformervector - Vector to be standardized.0.0
         for the column with zero std.public boolean withMean()
public boolean withStd()