Package smile.feature.transform
Interface Standardizer
public interface Standardizer
Standardizes numeric feature to 0 mean and unit variance.
Standardization makes an assumption that the data follows
a Gaussian distribution and are also not robust when outliers present.
A robust alternative is to subtract the median and divide by the IQR
by
RobustStandardizer
.-
Method Summary
Static Methods
-
Method Details
-
fit
Fits the data transformation.- Parameters:
data
- the training data.columns
- the columns to transform. If empty, transform all the numeric columns.- Returns:
- the transform.
-