sme_contrib.optimize.SteadyState.plot_cost_history_pbest

SteadyState.plot_cost_history_pbest(ax=None)

Plot the mean particle best cost history

The mean of the best cost for each particle in the swarm, 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