Find the threshold, give the max metric

h2o.find_threshold_by_max_metric(object, metric)

Arguments

object

H2OBinomialMetrics

metric

"F1," for example