Imputing in "Transform"

Hi guys,

What is the recommended way of imputing missing values in “preprocessing_fn”?

What is the equivalent of a simple sklearn pipeline with a transformer and an imputer (e.g. Pipeline(steps=[
(‘imputer’, SimpleImputer(strategy=‘median’))

Thank you,

Hi @mikaelmv

maybe this link could be helpful.

hope this can help

Thank you @fabioantonini , helpful indeed

1 Like