DOE OSTI · code-93342
Fast Sparse-Vector Cosine Similarity in Go
Abstract
This software provides a fast way to perform efficient sparse matrix multiplication followed by top-n multiplication result selection. Functionality for performing matrix multiplication / cosine similarity separately is included in this package as well. This package is a pure Go port of a Python package developed by ING Bank (https://github.com/ing-bank/sparse_dot_topn) which uses Cython to execute the matrix multiplication in C++. Instructions for compiling bindings which can be called from Python are included with this package as well.
Keep this discovery
Explore connections, maps & timelines
Shivers, Ryan [Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)] (0000000331244035), Smith, Colin [Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)] (0000000233491294). 2022-09-30. Fast Sparse-Vector Cosine Similarity in Go. https://doi.org/10.11578/dc.20220928.1
Cite the original work for its findings. Save a collection to share your selection of sources.