Optimizer#
- class Optimizer[source]#
Bases:
ABCAbstract base class for numerical optimizers.
This class defines the standard interface for all optimizer implementations. Its primary purpose is to find the parameters that minimize a given objective function, starting from an initial guess.
Subclasses must implement the
minimize()method to provide a specific optimization algorithm.Methods
minimize(target, params)Finds the parameters that minimize a target function.