Search NASA⌕ Search

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

BibTeXRIS

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. https://searchnasa.com/record/osti%3Acode-93342/fast-sparse-vector-cosine-similarity-in-go

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.