class CostHistory(*, iteration_values=None, historical_best=None)

The cost history of a stochastic optimization. Its contents depend on the cost_history_scope selected.

  • iteration_values (List[float], optional) – The list of values of the cost function obtained at each iteration.

  • historical_best (List[float], optional) – The list of best historical values of the cost function reached up to each iteration.