Comparison table
Use this page to filter representations by capability. It is a static reference; for a live,
queryable view use list_representations(...) against the registry. The registry is the single
source of truth, and these tables mirror it.
Reading the columns
KeyThe string you pass to
numerical_method,categorical_method, or per-feature config.Scopeunivariate(one column) ormultivariate(several columns jointly).Targetforbidden,optional(used whentarget_aware=True), orrequired.AdaptiveSupports data-driven width selection between
min_output_dimandmax_output_dim.PenaltyExposes
get_penalty_matrix()for smoothing penalties.SelectableCan be chosen through
Preprocessoras a per-column method.
Numerical: scalers and simple transforms
Method |
Key |
Scope |
Target |
Selectable |
|---|---|---|---|---|
Standardization |
|
univariate |
forbidden |
yes |
Min-max scaling |
|
univariate |
forbidden |
yes |
Robust scaling |
|
univariate |
forbidden |
yes |
Quantile transform |
|
univariate |
forbidden |
yes |
Polynomial features |
|
univariate |
forbidden |
yes |
Box-Cox |
|
univariate |
forbidden |
yes |
Yeo-Johnson |
|
univariate |
forbidden |
yes |
Passthrough |
|
univariate |
forbidden |
yes |
Numerical: splines
Method |
Key |
Scope |
Target |
Adaptive |
Penalty |
Selectable |
|---|---|---|---|---|---|---|
B-spline |
|
univariate |
optional |
yes |
no |
yes |
M-spline |
|
univariate |
optional |
yes |
no |
yes |
I-spline |
|
univariate |
optional |
yes |
no |
yes |
Cubic regression spline |
|
univariate |
optional |
yes |
yes |
yes |
Natural cubic spline |
|
univariate |
optional |
yes |
yes |
yes |
Penalized spline (P-spline) |
|
univariate |
forbidden |
yes |
yes |
yes |
Tensor-product spline |
|
multivariate |
forbidden |
yes |
yes |
no |
Thin-plate spline |
|
multivariate |
forbidden |
no |
yes |
no |
Note
The multivariate splines (tensorspline, tprs) model several inputs jointly and are used
standalone, not selected per column through Preprocessor. The alias thinplate resolves to
tprs.
Numerical: feature maps
Method |
Key |
Scope |
Target |
Adaptive |
Selectable |
|---|---|---|---|---|---|
RBF expansion |
|
univariate |
optional |
yes |
yes |
ReLU expansion |
|
univariate |
optional |
yes |
yes |
Sigmoid expansion |
|
univariate |
optional |
yes |
yes |
Tanh expansion |
|
univariate |
optional |
yes |
yes |
Fourier features |
|
univariate |
forbidden |
no |
yes |
Random Fourier features |
|
multivariate |
forbidden |
no |
no |
Nyström kernel map |
|
multivariate |
forbidden |
no |
no |
Numerical: discretization
Method |
Key |
Scope |
Target |
Adaptive |
Selectable |
|---|---|---|---|---|---|
Numeric binning |
|
univariate |
forbidden |
no |
yes |
Piecewise-linear encoding (PLE) |
|
univariate |
required |
yes |
yes |
Important
PLE is the only numerical method that requires the target. It always places its bins
against y, so it must be fit with a target and is best used with cross-fitting. See
Target awareness.
Categorical
Method |
Key |
Scope |
Target |
Selectable |
|---|---|---|---|---|
Ordinal (integer) encoding |
|
univariate |
forbidden |
yes |
One-hot encoding |
|
univariate |
forbidden |
yes |
One-hot from ordinal |
|
univariate |
forbidden |
yes |
Pretrained language embedding |
|
univariate |
forbidden |
yes |
Passthrough |
|
univariate |
forbidden |
yes |
Note
pretrained requires the optional embeddings extra. The alias ohe resolves to one-hot.
Where to go next
Choosing a method for guidance on which of these to reach for.
Splines, Feature maps, Binning and PLE, Categorical for the details.