NLA-lib Explorer

NLAlib.jlMomentDim

Library · def

The JL moment dimension <!-- value jlMomentDim \varepsilon \delta --> 128\max(2, \log(1/\delta))/\varepsilon^2: a Gaussian or Haar sketch with at least this many rows has the JL moment property with distortion 0 < \varepsilon \le 1, failure probability \delta and exponent \max(2, \log(1/\delta)) (NLAlib.hasJLMoment_of_hasLaw_gaussianMatrix_of_jlMomentDim_le). The value the proof reaches, inverting the readable form 2(\mathbf{v}p)^{p/2} + 2(2\mathbf{b}p)^{p} of the sub-exponential moment bound (NLAlib.subexponentialMomentBound_le) at \mathbf{v} = \mathbf{b} = 4/\lvert k\rvert; that comparison loses a factor exponential in p, so a Stirling-sharp inversion would lower the 128 by a factor of about e without a statement change. Consumers use jlMomentDim_nonneg, jlMomentDim_mono and jlMomentDim_le, 384\log(1/\delta)/\varepsilon^2 for \delta \le 1/2. Junk: 0 at \varepsilon = 0.

NLAlib.jlMomentDim (ε δ : ℝ) : ℝ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Gaussian.