Optimizer Interface#

Module for the Optimizer Interface.

class OptimizerInterface[source]#

Bases: object

Abstract interface for all optimizers.

abstract hook(parameters)[source]#

Execute custom logic associated with the optimizer instance.

This method is intended to encapsulate any additional behavior that should be triggered during the optimization process.

Parameters:

parameters (dict) – The parameters of the model to be optimized.

abstract property instance#

The underlying optimizer object.

Returns:

The optimizer instance.

Return type:

object