Blue Week Special Offer | Brighten your week!
days
hours
minutes
seconds

Sklearn.metrics.mean_squared_error. DQ portal do not include parameter squared in the function

Hi, guys
I wonder, why the DQ makes an error when calculating RMSE with param squared = False ?
Here is the link for documentation sklearn.metrics.mean_squared_error β€” scikit-learn 1.0.2 documentation

Old lesson?
Screen Link:

The current version of sklearn that they use in the classroom is 0.18.

The link to the documentation in the content is for 0.18 as well - sklearn.metrics.mean_squared_error β€” scikit-learn 0.18.2 documentation So, you can refer to that link.

squared isn’t a valid parameter for the 0.18 version.

1 Like