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

Consider using hypothesis for the evaluation metrics tests #17

Open
fluegelk opened this issue Nov 26, 2024 · 0 comments
Open

Consider using hypothesis for the evaluation metrics tests #17

fluegelk opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fluegelk
Copy link
Contributor

hypothesis seems like a great fit for the evaluation metric tests as all metrics can be compared against sklearn's implementation from sample-wise inputs, i.e., the following assumption should hold:

sklearn.metric.<metric>(y_true, y_pred) == evaluation_metrics.<metric>(sklearn.metric.confusion_matrix(y_true, y_pred))
@fluegelk fluegelk added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant