Regression with a subsampled randomized trigonometric transform
Library · Source module
Regression with a subsampled randomized trigonometric transform
Sketch-and-precondition (NLAlib.sketchAndPrecondition) with an SRHT, built from a bounded orthonormal transform \mathbf{F} with coherence \beta, reaches relative squared residual 1 + \tau from the sketch-and-solve start with O(\beta(\lvert n\rvert + 1 + \log(\lvert m\rvert/\delta))\log((\lvert n\rvert + 1)/\delta)) rows and O(\log(1/\tau)) iterations, except with probability \delta, over any RCLike field. This is Blendenpik's sketch, in exact arithmetic. The sketch embeds \operatorname{range}[\mathbf{A}\ \mathbf{y}], of dimension at most \lvert n\rvert + 1 (NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_srht_of_samplingEmbeddingDim_le).
Sketch-and-solve with a real SRHT reaches relative squared Frobenius residual error with failure probability \delta at O(\beta(r + \log(\lvert m\rvert/\delta))\log(r/\delta) + \beta^2(r + 1)/(\varepsilon\delta)) rows, r = \operatorname{rank}\mathbf{A}: the SRHT OSI at constant 1/2 and its JL moment at p = 2 (NLAlib.hasJLMoment_of_hasLaw_srht) through NLAlib.HasJLMoment.measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le.
Main results
* NLAlib.measureReal_norm_sub_mulVec_sketchAndPrecondition_sq_gt_le_of_hasLaw_srht: 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_hasLaw_srht: SRHT sketch-and-solve to relative error, and its asymptotic form NLAlib.exists_forall_measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le_of_hasLaw_srht.
Declarations
- NLAlib.exists_forall_measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le_of_hasLaw_srht
- NLAlib.exists_forall_measureReal_norm_sub_mulVec_sketchAndPrecondition_sq_gt_le_of_hasLaw_srht
- NLAlib.measureReal_frobNorm_sub_mul_sketchAndSolve_sq_gt_le_of_hasLaw_srht
- NLAlib.measureReal_norm_sub_mulVec_sketchAndPrecondition_pinv_mulVec_sq_gt_le_of_hasLaw_srht
- NLAlib.measureReal_norm_sub_mulVec_sketchAndPrecondition_sq_gt_le_of_hasLaw_srht