Preprocessing

Attention: Available only with Twin Activate commercial edition.

The following utility functions are available to change raw feature data into a representation that is more suitable for the downstream estimators:

Encoding
Categorical
  • Label Binarizer (labelbinarizer, labelbinarizertransform)
  • Label Encoder (labelencoder, labelencodertransform)
Numerical
  • Binarizer (binarize, binarizetransform)
  • Polynomial Features Generator (polyfeatures, polyfeaturestransform)
Imputation
  • impute
  • imputetransform
Normalization
  • Max Absolute Normalizer (maxabsnormalize, maxabsnormalizetransform)
  • MinMax Absolute Normalizer (minmaxnormalize)
  • Standardizer (standardize, standardizetransform)
Split Data
  • splitdata