StandardScaler
com.spotify.featran.transformers.StandardScaler$
Transform features by normalizing each feature to have unit standard deviation and/or zero mean.
When withStd
is true, it scales the data to unit standard deviation. When withMean
is true,
it centers the data with mean before scaling.
Missing values are transformed to 0.0 if withMean
is true or population mean otherwise.
Attributes
- Source:
- StandardScaler.scala
- Graph
- Supertypes
- Self type
- StandardScaler.type