nicetoolbox.evaluation.data.plots.plot_confusion_matrix_grid

nicetoolbox.evaluation.data.plots.plot_confusion_matrix_grid(summary: DataFrame, group_levels: list[str], base_title: str) dict[str, matplotlib.figure.Figure][source]

One figure per row in summary: CM heatmap + accuracy/precision/recall/F1 bar chart.

Returns a dict mapping filename -> figure.