Result: Sketch 'n Solve: An Efficient Python Package for Large-Scale Least Squares Using Randomized Numerical Linear Algebra

Title:
Sketch 'n Solve: An Efficient Python Package for Large-Scale Least Squares Using Randomized Numerical Linear Algebra
Authors:
Publisher Information:
2024-09-22 2024-11-17
Document Type:
Electronic Resource Electronic Resource
Availability:
Open access content. Open access content
Other Numbers:
COO oai:arXiv.org:2409.14309
1504874707
Contributing Source:
CORNELL UNIV
From OAIsterĀ®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1504874707
Database:
OAIster

Further Information

We present Sketch 'n Solve, an open-source Python package that implements efficient randomized numerical linear algebra (RandNLA) techniques for solving large-scale least squares problems. While sketch-and-solve algorithms have demonstrated theoretical promise, their practical adoption has been limited by the lack of robust, user-friendly implementations. Our package addresses this gap by providing an optimized implementation built on NumPy and SciPy, featuring both dense and sparse sketching operators with a clean API. Through extensive benchmarking, we demonstrate that our implementation achieves up to 50x speedup over traditional LSQR while maintaining high accuracy, even for ill-conditioned matrices. The package shows particular promise for applications in machine learning optimization, signal processing, and scientific computing.