plot_cross_validation#
- AxModelManager.plot_cross_validation(metric_name=None, subplot_spec=None, gridspec_kw=None, errorbar_kw=None, **figure_kw)#
Make a cross-validation plot for the given metric.
- Parameters:
- metric_namestr, optional.
Name of the metric to plot. If not specified, it will take the first objective in
self.ax_client.- subplot_specSubplotSpec, optional
A matplotlib
SubplotSpecin which to draw the axis.- gridspec_kwdict, optional
Dict with keywords passed to the
GridSpec.- errorbar_kwdict, optional
Dict with keywords passed to
ax.errorbar_kw.- **figure_kw
Additional keyword arguments to pass to
pyplot.figure. Only used if nosubplot_specis given.
- Returns:
- Figure, Axes