In the CNN demo's (cifar, housenumbers, and digit-classifier) the performance is reported in the form of the mean class accuracy. However this is done using confusion.totalValid, which is the total accuracy, not the mean class accuracy. The mean class accuracy can be found in confusion.averageValid.
totalValid is the sum of the diagonal of the confusion matrix divided by the sum of the matrix. averageValid is the average of all diagonals divided by their respective rows.
Is the intention to report the accuracy and is the text wrong or is the wrong variable used? My guess would be the latter.
In the CNN demo's (cifar, housenumbers, and digit-classifier) the performance is reported in the form of the mean class accuracy. However this is done using confusion.totalValid, which is the total accuracy, not the mean class accuracy. The mean class accuracy can be found in confusion.averageValid.
totalValid is the sum of the diagonal of the confusion matrix divided by the sum of the matrix. averageValid is the average of all diagonals divided by their respective rows.
Is the intention to report the accuracy and is the text wrong or is the wrong variable used? My guess would be the latter.