nicetoolbox.evaluation.data.plots.plot_score_heatmap

nicetoolbox.evaluation.data.plots.plot_score_heatmap(df: DataFrame, x_col: str, y_col: str, value_col: str, title: str, x_label: str, y_label: str) Figure[source]

Heatmap of scalar scores with x_col on X axis and y_col on Y axis.

If multiple rows share the same (x_col, y_col) pair, their values are averaged. Each cell is annotated with its numeric value.