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

Update computation of accuracy so it's consistent with best practices #417

Open
paulalbert1 opened this issue Jul 24, 2020 · 2 comments
Open

Comments

@paulalbert1
Copy link
Contributor

Right now, accuracy is calculated as the average of precision and recall.

We should change it to: (true positive + true negative) / (true positive + true negative + false positive + false negative)

@paulalbert1 paulalbert1 self-assigned this Jul 24, 2020
paulalbert1 added a commit that referenced this issue Jul 24, 2020
@paulalbert1
Copy link
Contributor Author

Here's the proposed code for the change. This didn't work, but hopefully it gives you the idea.
19dadab#diff-787324bc47fdd0a159b58f738bf98665

@paulalbert1
Copy link
Contributor Author

paulalbert1 commented Apr 4, 2023

This PR should cover it. We need to test to make sure this works as intended.
#512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant