cinnamon.plot.drift.plot_drift_importance.plot_tree_based_drift_importances

cinnamon.plot.drift.plot_drift_importance.plot_tree_based_drift_importances(drift_explainer: ModelDriftExplainer, n: int = 10, type: str = 'mean') None

Plot drift importances computed using the tree structure of the model.

See the documentation in README for explanations about how it is computed, especially the slide presentation.

Parameters

drift_explainer: ModelDriftExplainer

A ModelDriftExplainer object.

nint, optional (default=10)

Top n features to represent in the plot.

type: str, optional (default=”mean”)

Method used for drift importances computation. Choose among: - “node_size” - “mean” - “mean_norm”

See details in slide presentation.

Returns

None