NLA-lib Explorer

Regression with a sub-Gaussian sketch

Library · Source module

Regression with a sub-Gaussian sketch

Sketch-and-precondition (NLAlib.sketchAndPrecondition) with the normalised sketch \lvert k\rvert^{-1/2}\mathbf{X}, for \mathbf{X} with independent, isotropic, sub-Gaussian rows with proxy c, reaches relative squared residual 1 + \tau from the sketch-and-solve start with O(c^2(\lvert n\rvert + 1 + \log(1/\delta))) rows and O(\log(1/\tau)) iterations, except with probability \delta. The sketch embeds \operatorname{range}[\mathbf{A}\ \mathbf{y}], of dimension at most \lvert n\rvert + 1 (NLAlib.isObliviousSubspaceEmbedding_of_isSubgaussianVector_of_subgaussianEmbeddingDim_le).

Sketch-and-solve with the same sketch reaches relative squared Frobenius residual error with failure probability \delta at O(c^2(r + 1)\log(1/\delta)/\varepsilon) rows, r = \operatorname{rank}\mathbf{A}: a constant subspace injection and the family's JL moment at p = \log(1/\delta) through NLAlib.HasJLMoment.measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le.

Main results

* NLAlib.measureReal_norm_sub_mulVec_sketchAndPrecondition_sq_gt_le_of_isSubgaussianVector: explicit sizes. * The sketch-and-solve start: the same from (\mathbf{S}\mathbf{A})^{+}\mathbf{S}\mathbf{y}. * Asymptotic form: the asymptotic form. * NLAlib.measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le_of_isSubgaussianVector: sub-Gaussian sketch-and-solve to relative error, and its asymptotic form exists_forall_measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le_of_isSubgaussianVector.

Declarations