Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ Nonlinear least squares

jaxopt.GaussNewton
jaxopt.LevenbergMarquardt
jaxopt.ScipyLeastSquares
jaxopt.ScipyBoundedLeastSquares

Root finding
------------
Expand Down
14 changes: 14 additions & 0 deletions docs/nonlinear_least_squares.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,17 @@ parameters:

where :math:`\mathbf{J}` is the Jacobian of the residual function w.r.t.
parameters and :math:`\mu` is the damping parameter.

SciPy wrappers
--------------

.. autosummary::
:toctree: _autosummary

jaxopt.ScipyLeastSquares
jaxopt.ScipyBoundedLeastSquares

For users who need SciPy's ``least_squares`` implementation with PyTree and
implicit differentiation support, :class:`jaxopt.ScipyLeastSquares` wraps
unconstrained nonlinear least squares problems and
:class:`jaxopt.ScipyBoundedLeastSquares` handles problems with box constraints.