NLA-lib Explorer

NLAlib.samplingSketch_eq_sum_smul_dirac

Library · theorem

The law of the row-sampling sketch as a finite mixture of Diracs, one atom per index map \iota : k \to n with mass \prod_j p_{\iota(j)}.

NLAlib.samplingSketch_eq_sum_smul_dirac.{u_2, u_3, u_4} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
  {n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n] [DecidableEq k] (p : n → ℝ≥0) :
  samplingSketch k p = ∑ ι, (∏ j, ↑(p (ι j))) • Measure.dirac (samplingSketchMatrix p ι)

Full source on GitHub

Import NLAlib.Sketching.Sampling.RowSampling.