NLA-lib Explorer

NLAlib.isProbabilityMeasure_samplingSketchWithoutReplacement

Library · theorem

The law of the row-sampling sketch without replacement is a probability measure when \lvert k \rvert \le \lvert n \rvert.

NLAlib.isProbabilityMeasure_samplingSketchWithoutReplacement.{u_2, u_3, u_4} {𝕜 : Type u_2}
  [RCLike 𝕜] {k : Type u_3} {n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n]
  (hk : Fintype.card k ≤ Fintype.card n) :
  IsProbabilityMeasure (samplingSketchWithoutReplacement k n)

Full source on GitHub

Import NLAlib.Sketching.Sampling.WithoutReplacement.