minimize#

abstractmethod Optimizer.minimize(target, params)[source]#

Finds the parameters that minimize a target function.

This abstract method must be implemented by subclasses to perform the actual optimization.

Parameters:
  • target (Callable) – The objective function to minimize. It must be a callable that accepts a list or NumPy array of parameters and returns a single scalar value.

  • params (list[float]) – A list of initial values for the parameters to be optimized. This serves as the starting point for the optimization algorithm.

Returns:

A list containing the set of parameters that minimizes the target function.

Return type:

list[float]