evalml.model_understanding.
graph_permutation_importance
Generate a bar graph of the pipeline’s permutation importance.
pipeline (PipelineBase or subclass) – Fitted pipeline
X (ww.DataTable, pd.DataFrame) – The input data used to score and compute permutation importance
y (ww.DataColumn, pd.Series) – The target data
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.