NLA-lib Explorer

NLAlib.samplingSketch_eq_map

Library · theorem

The law of the row-sampling sketch is the pushforward of i.i.d. indices under any measurable space on n with measurable singletons.

NLAlib.samplingSketch_eq_map.{u_2, u_3, u_4} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4}
  [Fintype k] [Fintype n] [DecidableEq n] [MeasurableSpace n] [MeasurableSingletonClass n]
  (p : n → ℝ≥0) :
  samplingSketch k p = Measure.map (samplingSketchMatrix p) (Measure.pi fun x ↦ samplingMeasure p)

Full source on GitHub

Import NLAlib.Sketching.Sampling.RowSampling.