Solvers#
Functions for interacting with the JAX-based optimizers used for parameter fitting.
Solver registry functions#
Helpers to look up or register solvers.
Fetch the solver spec. |
|
Get the documentation of a specified solver, including accepted arguments and the docstring of its __init__. |
|
List all available solvers. |
|
List the available algorithms that can be used for fitting models. |
|
List the available backends for an algorithm. |
|
Register a solver implementation in the registry. |
|
Set the default backend for a given algorithm. |
|
Solver specification representing an entry in the solver registry. |
Wrapping existing solvers#
Adapter classes for existing solvers, especially those defined in the JAXopt, Optimistix, or Optax libraries.
Base class for adapters wrapping existing solvers. |
|
Base class for adapters wrapping JAXopt-style solvers. |
|
Base class for adapters wrapping Optimistix minimizers. |
|
Adapter for optimistix.OptaxMinimiser which is an adapter for Optax solvers. |
Writing custom solvers#
Classes useful for creating completely custom solvers.
Base class defining the interface for solvers that can be used by BaseRegressor. |
|
Basic diagnostic information about finished optimization runs. |
|
Protocol mirroring the interface of AbstractSolver. |
|
Validate required methods against AbstractSolver and optionally run a quick ridge regression. |
See also
The developer notes explain the solver contract and expected types in more detail.