Fit a SimpleImputer(strategy="median") on X[NUMERIC] and return what it learned…

Machine Learning · from The estimator API

fitpredicttransformscoreget_paramstrailing underscore

Putting the kettle on…

Starting up…

Exercise 2

Fit a SimpleImputer(strategy="median") on X[NUMERIC] and return what it learned — statistics_, rounded to 2 decimal places, as a list.

your answer
stuck? the lesson behind it
The estimator API
Four methods, two kinds of number, and one very informative underscore