The Feature-engine pack checks outlier cappers, encoders, feature selectors, and forecasting lag/window transformers against Feature-engine 1.9 on files that import feature_engine.
| Rules |
Safe fix |
Unsafe fix |
Manual fix |
| 6 |
0 |
0 |
6 |
| Rule |
Severity |
Fix |
What it finds |
| quantiles-capping-invalid-fold |
error |
none |
Winsorizer and OutlierTrimmer with capping_method="quantiles" interpret fold as a tail quantile in (0, 0.20] (default "auto" = 0.05) and raise ValueError for values outside that range, such as IQR multipliers (1.5, 3) or upper percentiles (0.95). |
| arbitrary-outlier-capper-empty |
error |
none |
ArbitraryOutlierCapper raises ValueError("Please provide at least 1 dictionary with the capping values.") when both max_capping_dict and min_capping_dict are omitted, None, or empty. |
| decision-tree-encoder-unseen-no-fill |
error |
none |
DecisionTreeEncoder raises ValueError("When unseen='encode' you need to pass a number to fill_value.") whenever unseen="encode" is set without a numeric fill_value. |
| Rule |
Severity |
Fix |
What it finds |
| smart-corr-missing-values-raise |
error |
none |
SmartCorrelatedSelection defaults to selection_method="missing_values" and raises ValueError if missing_values="raise" is passed alongside it, because the selector ranks correlated features by missingness. |
| smart-corr-model-performance-no-estimator |
error |
none |
SmartCorrelatedSelection(selection_method="model_performance") fits a scikit-learn estimator on each correlated feature group and raises ValueError at initialization when estimator is omitted or None. |
| forecasting-nonpositive-periods |
error |
none |
LagFeatures and WindowFeatures shift series backward by periods steps before computing lags or rolling statistics, and raise ValueError if periods is 0 or negative. |