label
Name of the column that contains the true, indexed label. Support for binary and multi-class labels, column should be of double type (use as.double)
metric
A classification metric, one of: f1 (default), precision, recall, weightedPrecision, weightedRecall, accuracy