You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this link it's reported.
Hence, I suggest you change the call in your wrapping function to "root_mean_squared_error" in case "squared" was set to true.
Errors:
Error evaluating r_squared: r_squared._compute() got an unexpected keyword argument 'squared'
Error evaluating mse: mse._compute() got an unexpected keyword argument 'squared'
The text was updated successfully, but these errors were encountered:
MatteBelle
changed the title
MSE not working, QUICK FIX (squared argument is deprecated in call to scikit-learn)
MSE, r_squared not working, QUICK FIX (squared argument is deprecated in call to scikit-learn)
Feb 6, 2025
https://scikit-learn.org/1.5/modules/generated/sklearn.metrics.mean_squared_error.html
At this link it's reported.
Hence, I suggest you change the call in your wrapping function to "root_mean_squared_error" in case "squared" was set to true.
Errors:
The text was updated successfully, but these errors were encountered: