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

Hi, i want to ask how to check the accuracy of training? #12

Open
anglgn opened this issue May 18, 2023 · 3 comments
Open

Hi, i want to ask how to check the accuracy of training? #12

anglgn opened this issue May 18, 2023 · 3 comments

Comments

@anglgn
Copy link

anglgn commented May 18, 2023

I see the code for checking accuracy, but I don't know how to use it.

@artitw
Copy link
Owner

artitw commented May 19, 2023

  1. Which part fo the code are you referring to?
  2. Are you looking for the final accuracy?

@anglgn
Copy link
Author

anglgn commented May 19, 2023

Yes, i just want to get the final accuracy.

@artitw
Copy link
Owner

artitw commented May 20, 2023

With the dataset you want to calculate accuracy on, run it through the model to get predictions, then you can compare the predictions with the ground truth to calculate accuracy. If you really need a library, take a look at https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html

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