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

Accuracy and F1 #8

Open
waiterxiaoyy opened this issue Dec 15, 2023 · 2 comments
Open

Accuracy and F1 #8

waiterxiaoyy opened this issue Dec 15, 2023 · 2 comments

Comments

@waiterxiaoyy
Copy link

Hello, I'd like to inquire about the accuracy and F1 score within the training code. Specifically, the original code uses a batch size of 2, so would the accuracy then be limited to 3 values: 0, 0.5, and 1?Also, regarding the F1 score, would it typically produce discrete values like 0.33, 0.66, and 1? Is my understanding correct?

@ecr05
Copy link
Collaborator

ecr05 commented Dec 15, 2023 via email

@CherBass
Copy link
Owner

Hi,

Thanks for your question. So as Emma mentioned the way metrics are computed is that first predictions are made for the entire dataset, and then metrics are computed, so the batch size is irrelevant in the inference stage. F1 can be a range of 0-1 not discrete.

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

3 participants