Skip to content

Commit 521d623

Browse files
authored
fix threshold average tpr_std
1 parent 091e88c commit 521d623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orange/widgets/evaluate/owrocanalysis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ def roc_curve_threshold_average(curves, thresh_samples):
898898
tpr_samples = np.array(tpr_samples)
899899

900900
return ((fpr_samples.mean(axis=0), fpr_samples.std(axis=0)),
901-
(tpr_samples.mean(axis=0), fpr_samples.std(axis=0)))
901+
(tpr_samples.mean(axis=0), tpr_samples.std(axis=0)))
902902

903903

904904
def roc_curve_thresh_avg_interp(curves, thresh_samples):
@@ -914,7 +914,7 @@ def roc_curve_thresh_avg_interp(curves, thresh_samples):
914914
tpr_samples = np.array(tpr_samples)
915915

916916
return ((fpr_samples.mean(axis=0), fpr_samples.std(axis=0)),
917-
(tpr_samples.mean(axis=0), fpr_samples.std(axis=0)))
917+
(tpr_samples.mean(axis=0), tpr_samples.std(axis=0)))
918918

919919

920920
RocPoint = namedtuple("RocPoint", ["fpr", "tpr", "threshold"])

0 commit comments

Comments
 (0)