79327848

Date: 2025-01-03 22:39:48
Score: 0.5
Natty:
Report link

Instead of

precision_curve, recall_curve, thresholds = precision_recall_curve(y_test, y_scores)

it should be

precision_curve, recall_curve, thresholds = precision_recall_curve(1-y_test, y_scores)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: oliver13