7.7.5. mclearn.viz.plot_average_learning_curve¶
-
mclearn.viz.
plot_average_learning_curve
(sample_sizes, learning_curves, curve_labels, no_trials=10, 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.
- no_trials (int) – The number of trials that were run for each learning curve.
- ax (Matplotlib Axes object) – A matplotlib Axes instance.
Returns: ax – The matplotlib Axes instance where the figure is drawn.
Return type: Matplotlib Axes object