code: @Override
      public double f1Score(org.nd4j.linalg.dataset.api.DataSet data) {
          return f1Score(data.getFeatures(), data.getLabels());
      }
docs: Sets the input and labels and returns the F1 score for the prediction with respect to the true labels
  
  @param data the data to score
  @return the score for the given input,label pairs