We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When there are ties, the prediction probability->label sorting inflates precision and recall. Here is a fix, courtesy of @k1aus
test_predictions_sorted, test_label_sorted = zip(*sorted(zip(test_predictions, test_label),key=lambda pair: pair[0], reverse=True))
The text was updated successfully, but these errors were encountered:
c062e41
Merge pull request #135 from dssg/thresholding_ties_bug
f8acbf2
Fix thresholding ties bug [Resolves #133]
thcrock
No branches or pull requests
When there are ties, the prediction probability->label sorting inflates precision and recall. Here is a fix, courtesy of @k1aus
test_predictions_sorted, test_label_sorted = zip(*sorted(zip(test_predictions, test_label),key=lambda pair: pair[0], reverse=True))
The text was updated successfully, but these errors were encountered: