evalml.model_understanding.
binary_objective_vs_threshold
decision thresholds for a fitted binary classification pipeline.
pipeline (BinaryClassificationPipeline obj) – Fitted binary classification pipeline
X (pd.DataFrame) – The input data used to compute objective score
y (pd.Series) – The target labels
objective (ObjectiveBase obj, str) – Objective used to score
steps (int) – Number of intervals to divide and calculate objective score at
DataFrame with thresholds and the corresponding objective score calculated at each threshold
pd.DataFrame