Skip to content

Commit f167d5b

Browse files
committed
Add an example.
1 parent 9caf53f commit f167d5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/plans/gradient_plan.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@ as a linear invertible map ``P: $(_math(:TpM)) → $(_math(:TpM))`` that usually
665665
The gradient is then preconditioned as ``P(X)``, where ``X`` is either the
666666
gradient of the objective or the result of a previous (internally stored) gradient processor.
667667
668+
For example if you provide as the preconditioner the inverse of the Hessian ``$(_tex(:Hess))^{-1} f``,
669+
you turn a gradient descent into a Newton method.
670+
668671
# Arguments
669672
670673
$(_var(:Argument, :M; type=true)) (optional)

0 commit comments

Comments
 (0)