pylspack:用于草图绘制、列子集选择、回归和杠杆分数的并行算法和数据结构
pylspack: Parallel algorithms and data structures for sketching, column subset selection, regression and leverage scores
摘要:
我们提出了并行算法和数据结构的三个基本操作在数值线性代数:(一)高斯和CountSketch随机投影及其组合,(二)计算的革兰氏矩阵和(三)计算的平方行范数的产品的两个矩阵,特别关注“高和瘦”矩阵,这出现在许多应用中。我们提供了一个详细的分析无处不在的CountSketch变换及其与高斯随机投影相结合,占内存需求,计算复杂性和工作负载平衡。我们还演示了如何将这些结果应用于列子集选择,最小二乘回归和杠杆分数计算。这些工具已经在pylspack中实现,pylspack是一个公开可用的Python包(https://github.com/IBM/pylspack),其核心是用C++编写的,并与OpenMP并行化,并且与SciPy和NumPy的标准矩阵数据结构兼容。大量的数值实验表明,所提出的算法的规模以及显着优于现有的库高和瘦矩阵。
英文摘要:
We present parallel algorithms and data structures for three fundamental operations in Numerical Linear Algebra: (i) Gaussian and CountSketch random projections and their combination, (ii) computation of the Gram matrix and (iii) computation of the squared row norms of the product of two matrices, with a special focus on "tall-and-skinny" matrices, which arise in many applications. We provide a detailed analysis of the ubiquitous CountSketch transform and its combination with Gaussian random projections, accounting for memory requirements, computational complexity and workload balancing. We also demonstrate how these results can be applied to column subset selection, least squares regression and leverage scores computation. These tools have been implemented in pylspack, a publicly available Python package (https://github.com/IBM/pylspack) whose core is written in C++ and parallelized with OpenMP, and which is compatible with standard matrix data structures of SciPy and NumPy. Extensive numerical experiments indicate that the proposed algorithms scale well and significantly outperform existing libraries for tall-and-skinny matrices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。