Skip to content

strata.preprocessing

StandardScaler, MinMaxScaler, RobustScaler, Normalizer, Binarizer, OneHotEncoder, OrdinalEncoder, LabelEncoder, SimpleImputer, and PolynomialFeatures with streaming SIMD statistics.


Struct Description
StandardScaler Standardize features by removing the mean and scaling to unit variance.
MinMaxScaler Transform features by scaling each feature to a specified range.
RobustScaler Scale features using statistics that are robust to outliers.
Normalizer Normalize samples individually to unit norm.
Binarizer Binarize feature values according to a threshold.
OneHotEncoder Encode categorical features as a one-hot numeric array.
OrdinalEncoder Encode categorical features as an integer array.
LabelEncoder Encode target labels with value between 0 and n_classes-1.
SimpleImputer Univariate imputer for completing missing values with simple statistics.
PolynomialFeatures Generate polynomial and interaction features.