Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.23 KB

optimizers_ref.rst

File metadata and controls

51 lines (32 loc) · 1.23 KB

Optimizers API Reference

Optimizer API

All the optimizers share the following common API:

.. autoclass:: nevergrad.optimizers.base.Optimizer
    :members:



Callbacks

Callbacks can be registered through the optimizer.register_callback for call on either ask or tell methods. Two of them are available through the ng.callbacks namespace.

.. automodule:: nevergrad.callbacks
    :members: OptimizerDump, ParametersLogger, ProgressBar, EarlyStopping

Configurable optimizers

Configurable optimizers share the following API to create optimizers instances:

.. autoclass:: nevergrad.optimizers.base.ConfiguredOptimizer
    :members:
    :special-members: __call__


Here is a list of the available configurable optimizers:

.. automodule:: nevergrad.families
    :members:

Optimizers

Here are all the other optimizers available in nevergrad:

Caution!

Only non-family-based optimizers are listed in the documentation, you can get a full list of available optimizers with sorted(nevergrad.optimizers.registry.keys())

.. automodule:: nevergrad.optimization.optimizerlib
    :members:
    :undoc-members: