Hi @Nicola, yes SimpleImputer should be used over Imputer as per the modern implementation. Imputer is now deprecated and no longer in use. It's better to use SimpleImputer instead.

I won't be able to comment on the accuracy though. Since modern implementations tend to be more efficient, it is safe to assume SimpleImputer to work a bit faster than Imputer.

Refer official documentation and code here.



300k+ Views on Medium | 4xTop Writer | Technology, Productivity, Books and Life | Linkedin: linkedin.com/in/afroz-chakure-489780168 | InteractiveGeneration.tech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store