supervised-reptile icon indicating copy to clipboard operation
supervised-reptile copied to clipboard

How to interpret the batch accuracy for train and test

Open ghost opened this issue 4 years ago • 1 comments

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??

ghost avatar Nov 28 '20 12:11 ghost

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

hiyamgh avatar May 23 '21 11:05 hiyamgh