qolmat.imputations.preprocessing.make_pipeline_mixte_preprocessing

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

Create a preprocessing pipeline managing mixed type data.

It does this by one hot encoding categorical data.

Parameters
scale_numericalbool, default=False

Whether to scale numerical features.

avoid_newbool, default=False

Whether to forbid new numerical values.

Returns
preprocessorPipeline

Preprocessing pipeline