LocalModel.gradient#
- t3toolbox.fitting.LocalModel.gradient()#
def gradient(self): # g = Π 𝒥ᵀ r (+ g_R), a tangent at frame
The gradient
g = geometry.project(𝒥ᵀ r)(the Gauss-NewtonJᵀr), a tangent at frame, plus the regularizer gradientg_Rwhen set.On the manifold geometry this is the gauged Riemannian gradient; on the corewise geometry it is the raw core gradient
𝒥ᵀr(a tangent at(B,G,G,G), noΠ). The same in both modes: an exact model did its one misfit transpose at construction and reads it here, bit for bit.