Example gallery
To clone the repository and the examples, please run:
$ git clone https://github.com/google/jaxopt.git
or download this zip file.
To install the libraries that the examples depend on, please run:
$ pip install -r examples/requirements.txt
Constrained optimization

Non-negative matrix factorizaton (NMF) using alternating minimization.
Non-negative matrix factorizaton (NMF) using alternating minimization.
Deep learning

Image classification example with Haiku and JAXopt.
Image classification example with Haiku and JAXopt.
Fixed point resolution

Anderson acceleration in application to Picard–Lindelöf theorem.
Anderson acceleration in application to Picard–Lindelöf theorem.

Anderson acceleration of block coordinate descent.
Anderson acceleration of block coordinate descent.

Deep Equilibrium (DEQ) model in Flax with Anderson acceleration.
Deep Equilibrium (DEQ) model in Flax with Anderson acceleration.