Exercise M7.03 - Potential typo in the solution (MSE/MAE)

Hi,

In the solution for the M7.03 notebook, it is written:

tscores = {“R2”: cv_results[“test_r2”], “MSE”: -cv_results[“test_neg_mean_absolute_error”]}

Since we’re calculating the mean absolute error, unless I’m missing something, I think this should likely be MAE.

Indeed your are right!

Fixed in Fix MSE -> MAE in exercise · INRIA/scikit-learn-mooc@71a660e · GitHub

I put Olivier’s comment as solution since you can not have a whisper (private post) be marked as the solution …