code: public int truePositives() {
      int tp = 0;
      for(int i = 0; i < confusion.length; i++) {
        tp += truePositives(i);
      }
      return tp;
    }
docs: The number of correctly classified instances.
  
  
  @return the number of correctly classified instances