Preprocessing is a hyperparameter too

Machine Learning · from Searching hyperparameters

GridSearchCVRandomizedSearchCVbest_params_cv_results_scoringn_jobs

Putting the kettle on…

Starting up…

Exercise 3

Preprocessing is a hyperparameter too. Search pre__num__impute__strategy over ["median", "mean"] alongside clf__C, and return the winning strategy as a string.

your answer
stuck? the lesson behind it
Searching hyperparameters
The metric you pass does not report the winner — it decides it