qolmat.imputations.preprocessing.make_robust_MixteHGB

qolmat.imputations.preprocessing.make_robust_MixteHGB(scale_numerical: bool = False, avoid_new: bool = False) Pipeline[source]

Create a robust pipeline for MixteHGBM.

Create a preprocessing pipeline managing mixed type data by one hot encoding categorical features. This estimator is intended for use in ImputerRegressor to deal with mixed type data.

Note that from sklearn 1.4 HistGradientBoosting Natively Supports Categorical DTypes in DataFrames, so that this pipeline is not required anymore.

Parameters
scale_numericalbool, default=False

Whether to scale numerical features.

avoid_newbool, default=False

Whether to forbid new numerical values.

Returns
robust_MixteHGBobject

A robust pipeline for MixteHGBM.

Examples using qolmat.imputations.preprocessing.make_robust_MixteHGB

Benchmark for categorical data

Benchmark for categorical data