sme_contrib.optimize.SteadyState.plot_cost_history

SteadyState.plot_cost_history(ax=None)

Plot the cost history

The cost of the best set of parameters at each iteration of particle swarm.

Parameters

ax (matplotlib.axes._subplots.AxesSubplot) – Optionally specify the axes to draw the plot on

Returns

The axes the plot was drawn on

Return type

matplotlib.axes._subplots.AxesSubplot