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.
Multiclass linear SVM (without intercept).
Binary kernel SVM with intercept.
Deep learning
VAE example with Haiku and JAXopt.
Image classification example with Haiku and JAXopt.
Comparison of different SGD algorithms.
SPMD ResNet example with Flax and JAXopt.
Fixed point resolution
Anderson acceleration in application to Picard–Lindelöf theorem.
Anderson acceleration of block coordinate descent.
Anderson acceleration of gradient descent.
Deep Equilibrium (DEQ) model in Flax with Anderson acceleration.
Implicit differentiation
Implicit differentiation of lasso.
Implicit differentiation of ridge regression.