NLAlib.samplingEmbeddingDim
Library · def
The row-sampling size <!-- value samplingEmbeddingDim d L \varepsilon \delta --> 3 L \log(2d/\delta)/\varepsilon^2: with at least this many samples, row sampling under leverage domination with constant L is a subspace embedding with constants 1 \mp \varepsilon and failure probability \delta for a subspace of dimension d, for 0 < \varepsilon \le 1 (NLAlib.hasSubspaceEmbedding_of_hasLaw_samplingSketch_of_samplingEmbeddingDim_le). The value the proof reaches, inverting 2 d \, e^{-\varepsilon^2 k / (3L)} \le \delta (NLAlib.two_mul_mul_exp_le_of_samplingEmbeddingDim_le); [Woodruff2014, Theorem 17] has 144 d \log(2d/\delta) / (\beta \varepsilon^2), which at L = d/\beta is 48 times larger. Consumers use NLAlib.samplingEmbeddingDim_le. Junk values: 0 at \varepsilon = 0; at most 0 for \delta \ge 2d, where the tail bound is at least 1.
NLAlib.samplingEmbeddingDim (d : ℕ) (L ε δ : ℝ) : ℝImport NLAlib.Sketching.Sampling.RowSampling.