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

How to interpret the batch accuracy for train and test #31

Open
ghost opened this issue Nov 28, 2020 · 1 comment
Open

How to interpret the batch accuracy for train and test #31

ghost opened this issue Nov 28, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 28, 2020

image
Hi I am constantly getting 1.0000 or 0.5000 or 0.0000 on custom dataset. What does these value mean?? and why I am getting only 1.000 or 0.5000 or 0.0000??

@hiyamgh
Copy link

hiyamgh commented May 23, 2021

Hello, this is due to the fact that, according to the paper, we sample K + 1 datapoints, We train on the K data points and evaluate only on the last one, therefore, the accuracy is described as num_correct / num_classes so basically if you have 2 classes and you predicted 1 correct and the other not, then the accuracy = 1 / 2 = 0.5

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

1 participant