minimize#

abstractmethod Optimizer.minimize(target, params)[исходный код]#

Find parameters that minimize a scalar objective function.

The M-step strategies pass an unconstrained objective that returns +inf at infeasible parameters, so implementations must tolerate it. Failure to converge is not reported: the best point found is returned.

Параметры:
  • target (Callable) – Objective function accepting a vector of parameter values and returning a scalar.

  • params (list[float]) – Initial parameter guess.

Результат:

Optimized parameter values.

Тип результата:

list[float]