LocalModel#
- class t3toolbox.backend.optimizers.LocalModel#
The local model linearized at a point – the backend twin of the frontend
t3toolbox.fitting.LocalModel(same name, one level down). Built byProblem.local_model; the frame sweep is computed once and reused by every method below.Two modes, derived rather than stored (
is_exactiscurvature is not None):Gauss-Newton (
hessian='gauss_newton', the default):hvp(p) = Pi J^T omega^2 J Pi p (+ H_R p).Exact (
hessian='exact'): the exact Riemannian Hessian,hvp(p) = Pi [J^T omega^2 J Pi p + L^T (K_{A^T omega^2 r} - K_{grad f}) L Pi p] (+ H_R p),with
Lthe geometry’s lift from coordinates to raw core variations,K_{A^T omega^2 r}the kind’scorewise_hessian()(the derivative of the corewise transpose at the fixed residual) andK_{grad f}the geometry’s tangential curvature (Absil, Mahony & Trumpf (2013), “An extrinsic look at the Riemannian Hessian”: the Weingarten term as<N, d^2 Phi>withNthe normal part ofA^T omega^2 r). On a corewise geometry it is the plain Hessian off o Phi(no lift, no tangential term).
gn_quadratic/jacobian/retractmean the same in both modes (gn_quadraticis always‖ω J Pi p‖² (+ <p, H_R p>));quadraticis the mode’s model<p, H p>.- geom: t3toolbox.backend.common.typ.Any#
- kind: t3toolbox.backend.common.typ.Any#
- sample: t3toolbox.backend.common.typ.Any#
- frame: t3toolbox.backend.common.typ.Tuple#
- sweep: t3toolbox.backend.common.typ.Tuple#
- residual: t3toolbox.backend.common.typ.Any#
- n_w: int#
- regularizer: t3toolbox.backend.common.typ.Any = None#
- geom_aux: t3toolbox.backend.common.typ.Any = None#
- curvature: t3toolbox.backend.common.typ.Any = None#
- property is_exact: bool#
- Return type:
bool
- property misfit#
- property regularization#
- property objective#
- property gradient: Tangent#
- Return type:
Tangent
Methods#
|
|
|
|
|
|
|
|
|