public void addPredictions(ArrayList<Prediction> predictions) throws Exception {
  for (int i=0; i < predictions.size(); i++) {
    addPrediction((NominalPrediction)predictions.get(i));
  }
}

public void addPredictions ( ArrayList < Prediction > predictions ) throws Exception { for ( int i = 0 ; i < predictions . size ( ) ; i ++ ) { addPrediction ( ( NominalPrediction ) predictions . get ( i ) ) ; } }
includes a whole bunch of predictions in the confusion matrix .
