Coding a custom imputer in scikit-learn
Learn how to create custom imputers, including groupby aggregation for more advanced use-cases
Published in
5 min readMay 21, 2020
Working with missing data is an inherent part of the majority of the machine learning projects. A typical approach would be to use scikit-learn
’s SimpleImputer
(or another imputer from the sklearn.impute
module). However, often the simplest…