cinnamon.plot.drift.plot_drift_importance.plot_adversarial_drift_importances

cinnamon.plot.drift.plot_drift_importance.plot_adversarial_drift_importances(adversarial_drift_explainer: AdversarialDriftExplainer, n: int = 10)

Plot drift importances computed using the adversarial method. Here the drift importances correspond to the means of the feature importance taken over the n_splits cross-validated adversarial classifiers.

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

Parameters

adversarial_drift_explainer: AdversarialDriftExplainer

A AdversarialDriftExplainer object.

ninterger, optional (default=10)

Top n features to represent in the plot.

Returns

None