7.7.5. mclearn.viz.plot_average_learning_curve

mclearn.viz.plot_average_learning_curve(sample_sizes, learning_curves, curve_labels, ax=None)[source]

Plot the average learning curve from many trials.

Parameters:
  • sample_sizes (array) – The sample sizes in which the classifier is run.
  • learning_curves (array) – List of learning_curves to be plotted
  • curve_labels (array) – The labels of the learning curves.
  • ax (Matplotlib Axes object) – A matplotlib Axes instance.
Returns:

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

Return type:

Matplotlib Axes object