public synchronized int getPredictedTotal ( T predicted ) { int total = 0 ; for ( T actual : classes ) { total += getCount ( actual , predicted ) ; } return total ; }
Computes the total number of times the class was predicted by the classifier .