code: public <T extends Evaluation> T evaluate(DataSetIterator iterator) {
          return (T)evaluate(iterator, null);
      }
docs: Evaluate the network (classification performance)
  
  @param iterator Iterator to evaluate on
  @return Evaluation object; results of evaluation on all examples in the data set