Skip to main content

This package is intended for matrix blocks, boosting a sparse matrix multiplication followed by selecting the top-n multiplication

Project description

sparse_dot_topn_for_blocks:

sparse_dot_topn_for_blocks is a slight variation of sparse_dot_topn which provides a fast way to perform sparse matrix multiplication followed by top-n selection and sorting in each row.

It has the same interface as sparse_dot_topn but additionally allows an array to be passed whose elements will each be incremented with the maximum number of nonzero elements of each row of the result matrix with values above the given lower bound. This is suitable for block-matrix multiplication. That's all!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparse_dot_topn_for_blocks-0.3.1.post3.tar.gz (17.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page