skopt.plots.plot_convergence#
- skopt.plots.plot_convergence(*args, true_minimum=None, yscale=None, ax=None)[source]#
Plot one or several convergence traces.
- Parameters:
- results: `OptimizeResult`, iterable of `OptimizeResult`, or a 2-tuple
of a label and a
OptimizeResultor an iterable ofOptimizeResult. The result(s) for which to plot the convergence trace.if an
OptimizeResult, draw the corresponding single traceif an iterable of
OptimizeResult, draw all traces in the same plot as well as the average convergence traceif a tuple, the label names the trace(s) and the behavior is as specified above.
- true_minimumfloat, optional
The true minimum value of the function, if known.
- yscaleNone or string, optional
The scale for the y-axis.
- Returns:
- ax
Axes The matplotlib axes the plot was drawn in
- ax