8000 removed commented code · scikit-learn/scikit-learn@f06b98c · GitHub
[go: up one dir, main page]

Skip to content

Commit f06b98c

Browse files
committed
removed commented code
1 parent 4459510 commit f06b98c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sklearn/metrics/ranking.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ def precision_recall_curve(y_true, probas_pred, pos_label=None,
412412
sample_weight=sample_weight)
413413

414414
precision = tps / (tps + fps)
415-
# recall = tps / tps[-1]
416415
recall = np.ones(tps.size) if tps[-1] == 0 else tps / tps[-1]
417416

418417
# stop when full recall attained

0 commit comments

Comments
 (0)
0