7.7.3. mclearn.viz.plot_balanced_accuracy_violin

mclearn.viz.plot_balanced_accuracy_violin(balanced_accuracy_samples, ax=None)[source]

Make a violin plot of the balanced posterior accuracy.

Parameters:
  • balanced_accuracy_samples (dict) – Where the keys are the classifier names and the each value is an array of sample points from which an empirical pdf can be approxmiated.
  • ax (Matplotlib Axes object) – A matplotlib Axes instance.
Returns:

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

Return type:

Matplotlib Axes object