Exercice M6.01 = a little suggestion

Hi,
In the solution you transform the cv_results[‘mean_test_score’] to be positive, but as a consequence the better model has the worst test score in your table. I suggest you let the test score negative. Like that the table will be in scope of all we learned until here : better the test score => better the model

Or better call the column mean_test_error and keep your transofrmation to positive number…

This has been answered in Error in Hyperparameter tuning lecture - #3 by lesteve. Thanks @echidne for providing the link.