NLA-lib Explorer

NLAlib.leverageScore_le_mul_const_inv_card

Library · theorem

Uniform weights, in the form of the sketch: the domination \ell_i(\mathbf{U}) \le L / \lvert n \rvert by uniform weights, as stated by uniform sampling with and without replacement and the SRHT, is the domination \ell_i(\mathbf{U}) \le L p_i at the weights p_i = 1/\lvert n \rvert of NLAlib.samplingSketch.

NLAlib.leverageScore_le_mul_const_inv_card.{u_1, u_3, u_5} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  {r : Type u_5} [Fintype n] [Fintype r] {U : Matrix n r 𝕜} {L : ℝ}
  (hdom : ∀ (i : n), leverageScore U i ≤ L * (↑(Fintype.card n))⁻¹) (i : n) :
  leverageScore U i ≤ L * ↑((fun x ↦ (↑(Fintype.card n))⁻¹) i)

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Leverage.