Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Last answered:

29 Nov 2024

Posted on:

28 Nov 2024

0

Resolved: Result of Ridge RMSE in question 5 of the exam

Hello. I just finished the exam and I have a different result in question 5. The RMSE for Ridge Regression that I calculate is: 26756 which is slightly different than the result that you state as correct. Here is a picture from that part of my code. Can you check your results or spot something that I haven't done correctly?
1 answers ( 1 marked as helpful)
Instructor
Posted on:

29 Nov 2024

0
Hi Vasilejos!
Thanks for reaching out.

Thank you for sharing your results! The slight difference in RMSE values can arise from a couple of factors.

If a different scoring metric was used during cross-validation (e.g., neg_root_mean_squared_error instead of  neg_mean_squared_error), it could cause minor variations in the calculated RMSE.
Cosnidering the cross-validation configuration: since n_splits=10 and n_repeats=5, the results are averaged over multiple splits. Small differences in how the model performs across these splits can slightly impact the final RMSE value.
However, both results are valid and reflect how sensitive RMSE can be to the scoring metric and cross-validation setup.
Hope this helps.
Best,
Ivan

Submit an answer