code: public double computeAccuracy() {
  		double totalCorrect = 0;
  		double totalIncorrect = 0;
  
  		for (int i = 0; i < actualCounts.length; i++) {
  			for (int j = 0; j < actualCounts.length; j++) {
  				if( i == j ) {
  					totalCorrect += matrix.get(i,j);
  				} else {
  					totalIncorrect += matrix.get(i,j);
  				}
  			}
  		}
  
  		return totalCorrect/(totalCorrect+totalIncorrect);
  	}
docs: Computes accuracy from the confusion matrix.  This is the sum of the fraction correct divide by total number
  of types.  The number of each sample for each type is not taken in account.
  
  @return overall accuracy