7.7.11. mclearn.viz.plot_validation_accuracy_heatmap

mclearn.viz.plot_validation_accuracy_heatmap(scores, x_range=None, y_range=None, x_label=None, y_label=None, power10='both', ax=None)[source]

Plot heatmap of the validation accuracy from a grid search.

Parameters:
  • scores (array) – List of scores that has been shaped appropriately.
  • x_range (array or None) – The range on the x-axis which will replace the default numbering.
  • y_range (array or None) – The range on the y-axis which will replace the default numbering.
  • x_label (str) – Label of the x-axis
  • y_label (str) – Label of the y-axis
  • power10 (‘x’ or ‘y’ or ‘both’) – Whether to format the numbering on the axes as powers of 10.
  • ax (Matplotlib Axes object) – A matplotlib Axes instance.
Returns:

ax – The matplotlib Axes instance where the figure is drawn.

Return type:

Matplotlib Axes object