mlxplain.explanations.images package

Submodules

mlxplain.explanations.images.rules module

class mlxplain.explanations.images.rules.RuleImportance(mode='classification', explanations=None, target_class=None)

Bases: ExplanationBase

get_explanations()

Gets the generated explanations.

Returns:

A dict or a list containing the explanations.

ipython_plot(**kwargs)

Plots figures in IPython.

plot(font_size=10)

Returns a matplotlib figure showing the explanations.

Returns:

A matplotlib figure.

plotly_plot(**kwargs)

Returns a plotly dash component showing the explanations.

Returns:

A plotly dash component.

Module contents