Skip to content

Commit

Permalink
correcting pr-auc, roc-auc plots generation (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
joker2411 authored Sep 10, 2024
1 parent afbde92 commit 84bb7cf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def plot_diagnostics(
label_column: str,
) -> None:
try:
predictions = classification_predict_model(model, x)["prediction_score"]
predictions = classification_predict_model(model, x, raw_score=True)[
"prediction_score_1"
]

y_true = y.to_numpy().reshape(
-1,
Expand Down

0 comments on commit 84bb7cf

Please sign in to comment.