evalml.model_understanding.
graph_binary_objective_vs_threshold
Generates a plot graphing objective score vs. decision thresholds for a fitted binary classification pipeline.
pipeline (PipelineBase or subclass) – Fitted pipeline
X (pd.DataFrame) – The input data used to score and compute scores
y (pd.Series) – The target labels
objective (ObjectiveBase obj, str) – Objective used to score, shown on the y-axis of the graph
steps (int) – Number of intervals to divide and calculate objective score at
plotly.Figure representing the objective score vs. threshold graph generated