Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify task of descent classes #69

Merged
merged 1 commit into from
Jul 18, 2024
Merged
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: 1 addition & 1 deletion docs/api/searches/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Consider a function $f \colon \mathbb{R}^n \to \mathbb{R}$, that we would like t

**Descents**

Descents consume information about values+gradients+Hessians etc. of $f$, along with this scalar value, and give the size of the update to make. This corresponds to `-scalar * gradient` for gradient descent, `-scalar * (Hessian^{-1} gradient)` for (Gauss--)Newton algorithms, the distance along the dogleg path with Dogleg, `(Jacobian^T Jacobian + scalar * I)^{-1} gradient` for Levenberg--Marquardt (damped Newton), and so on. [Although `Jacobian^T Jacobian` isn't actually materialised -- the implementation does the smart thing and solves a least-squares problem using QR.]
Descents consume information about values+gradients+Hessians etc. of $f$, along with this scalar value, and compute the update to make. This corresponds to `-scalar * gradient` for gradient descent, `-scalar * (Hessian^{-1} gradient)` for (Gauss--)Newton algorithms, the distance along the dogleg path with Dogleg, `(Jacobian^T Jacobian + scalar * I)^{-1} gradient` for Levenberg--Marquardt (damped Newton), and so on. [Although `Jacobian^T Jacobian` isn't actually materialised -- the implementation does the smart thing and solves a least-squares problem using QR.]

**Examples**

Expand Down