evalml.model_understanding.
graph_permutation_importance
Generate a bar graph of the pipeline’s permutation importance.
pipeline (PipelineBase or subclass) – Fitted pipeline
X (pd.DataFrame) – The input data used to score and compute permutation importance
y (pd.Series) – The target labels
objective (str, ObjectiveBase) – Objective to score on
importance_threshold (float, optional) – If provided, graph features with a permutation importance whose absolute value is larger than importance_threshold. Defaults to zero.
plotly.Figure, a bar graph showing features and their respective permutation importance.