Learn a binary classification threshold which optimizes the current objective.
ypred_proba (ww.DataColumn, pd.Series) – The classifier’s predicted probabilities
y_true (ww.DataColumn, pd.Series) – The ground truth for the predictions.
X (ww.DataTable, pd.DataFrame, optional) – Any extra columns that are needed from training data.
Optimal threshold for this objective