NLA-lib Explorer

NLAlib.isMinOn_tikhonovObjective_iff_isLeastSquaresSolution

Library · theorem

The regularized objective is ordinary least squares for the augmented data [\mathbf{A};\sqrt\beta\mathbf{L}] and [\mathbf{b};\mathbf{0}], for \beta\ge0. This bridge includes zero parameters and rank-deficient penalties.

NLAlib.isMinOn_tikhonovObjective_iff_isLeastSquaresSolution.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p]
  (A : Matrix m n 𝕜) (L : Matrix p n 𝕜) (b : m → 𝕜) {β : ℝ} (hβ : 0 ≤ β) {x : n → 𝕜} :
  IsMinOn (tikhonovObjective A L b β) Set.univ x ↔
    IsLeastSquaresSolution (A.fromRows (√β • L)) (b ⊕ᵥ 0) x

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.RegularizedLeastSquares.