CMD + K

sparse_dot_topn

Community

Python package to accelerate the sparse matrix multiplication and top-n similarity selection

Installation

To install this package, run one of the following:

Conda
$conda install sfe1ed40::sparse_dot_topn

Usage Tracking

0.3.6
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

Sparsedottopn provides a fast way to performing a sparse matrix multiplication followed by top-n multiplication result selections. Comparing very large feature vectors and picking the best matches, in practice often results in performing sparse matrix multiplication followed by selecting the top-n multiplication results. In this package, we implement a customized Cython function for this purpose. When comparing our Cythonic approach to doing the same use with SciPy and NumPy functions, our approach improves the speed by about 40% and reduces memory consumption.

About

Summary

Python package to accelerate the sparse matrix multiplication and top-n similarity selection

Last Updated

Oct 6, 2023 at 08:19

License

Apache-2.0

Total Downloads

13.4K

Supported Platforms

linux-ppc64le
linux-aarch64
linux-s390x
macOS-64
macOS-arm64
linux-64
win-64