Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fix error bars for threshold averaged ROC curves #7014

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Orange/widgets/evaluate/owrocanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
tpr_samples = np.array(tpr_samples)

return ((fpr_samples.mean(axis=0), fpr_samples.std(axis=0)),
(tpr_samples.mean(axis=0), fpr_samples.std(axis=0)))
(tpr_samples.mean(axis=0), tpr_samples.std(axis=0)))


def roc_curve_thresh_avg_interp(curves, thresh_samples):
Expand All @@ -914,7 +914,7 @@
tpr_samples = np.array(tpr_samples)

return ((fpr_samples.mean(axis=0), fpr_samples.std(axis=0)),
(tpr_samples.mean(axis=0), fpr_samples.std(axis=0)))
(tpr_samples.mean(axis=0), tpr_samples.std(axis=0)))

Check warning on line 917 in Orange/widgets/evaluate/owrocanalysis.py

View check run for this annotation

Codecov / codecov/patch

Orange/widgets/evaluate/owrocanalysis.py#L917

Added line #L917 was not covered by tests


RocPoint = namedtuple("RocPoint", ["fpr", "tpr", "threshold"])
Expand Down
Loading