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