Efficient Calculation of Polynomial Features on Sparse MatricesDownload PDF

25 Apr 2024 (modified: 21 Jul 2022)Submitted to ICLR 2017Readers: Everyone
Abstract: We provide an algorithm for polynomial feature expansion that both operates on and produces a compressed sparse row matrix without any densification. For a vector of dimension D, density d, and degree k the algorithm has time complexity O(d^k * D^k) where k is the polynomial-feature order; this is an improvement by a factor d^k over the standard method.
TL;DR: An algorithm to perform polynomial expansions on CSR matrices that scales with matrix density polynomially.
Keywords: Supervised Learning
Conflicts: google.com, ed.ac.uk, cs.brown.edu, umn.edu
5 Replies

Loading