Preprocessing#
Scalers, encoders, imputers and discretizers.
Naive Bayes classifier for binary features. |
|
Set feature values to 0 or 1 by a threshold. |
|
Naive Bayes classifier for categorical features. |
|
Compute chi-squared statistics between each nonnegative feature and the class labels. |
|
Complement naive Bayes classifier, suited to imbalanced text data. |
|
Compute the ANOVA F-value of each feature against the class labels. |
|
Compute the F-statistic of each feature's correlation with a continuous target. |
|
Gaussian naive Bayes classifier. |
|
Impute missing values by modeling each feature from the others, round by round. |
|
Bin continuous features into intervals. |
|
Binarize labels in a one-vs-all fashion. |
|
Encode target labels as integers |
|
Linear discriminant analysis classifier and supervised dimensionality reduction. |
|
Scale each feature by its maximum absolute value. |
|
Scale each feature to a given range. |
|
Convert sets of labels to a binary indicator matrix. |
|
Naive Bayes classifier for multinomial (count) features. |
|
Estimate the mutual information between each feature and a discrete target. |
|
Estimate the mutual information between each feature and a continuous target. |
|
Scale each row to unit norm. |
|
Encode numeric categorical features as one-hot columns. |
|
Encode numeric categorical features as integer codes. |
|
Generate polynomial and interaction features. |
|
Apply a power transform per feature to make the data more Gaussian. |
|
Feature scaling: |
|
Quadratic discriminant analysis classifier. |
|
Map each feature to a uniform or normal distribution through its quantiles. |
|
Compute the Pearson correlation of each feature with a continuous target. |
|
Feature ranking with recursive feature elimination. |
|
Scale features by the median and the interquantile range. |
|
Select the features with the |
|
Replace missing values with a per-column statistic. |
|
Generate B-spline basis features for each feature. |
|
Standardize features by removing the mean and scaling to unit variance. |
|
Encode numeric categorical features by the target mean of each category. |
|
Feature selector that removes low-variance features. |