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