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

evaluation #42

Open
Astudnew opened this issue Feb 16, 2022 · 2 comments
Open

evaluation #42

Astudnew opened this issue Feb 16, 2022 · 2 comments

Comments

@Astudnew
Copy link

Hello
Please, I need to print recall and precision in the output.
also get the confusion matrix
could help me, please?

@yangheng95
Copy link
Owner

yangheng95 commented Feb 16, 2022

report = classification_report(y_true, y_pred, digits=4)

Here the report contains what you want

@Astudnew
Copy link
Author

Thank you very much

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

No branches or pull requests

2 participants