Skip to content

Commit

Permalink
deprecated loss
Browse files Browse the repository at this point in the history
  • Loading branch information
paillarj committed Oct 15, 2024
1 parent 50ca014 commit 3ffa1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_diabetes_variable_importance_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
score = r2_score(
y_true=y[test_index], y_pred=regressor_list[i].predict(X[test_index])
)
mse = mean_squared_error(
mse = root_mean_squared_error(
y_true=y[test_index], y_pred=regressor_list[i].predict(X[test_index])
)

Expand Down

0 comments on commit 3ffa1b5

Please sign in to comment.