- FIX: Prevent Scipy from dropping columns that are all zero for sub-matrices
Add new function to select top-n from blocks of a sparse matrix matmul. Function will return a zipped matrix Z, where Z = [sorted top n results > lower_bound for each row of C_j], where C_j = A.dot(B_j) and where B has been split row-wise into sub-matrices B_j.
- ENH: new function zip_sp_matmul_topn can zip matrices zip_j A.dot(B_j)
This introduces major and potentially breaking changes to the API. Please see the migration guide in the README for details.
-
API:
awesome_cossim_topn
is superseded withsp_matmul_topn
. -
API:
awesome_cossim_topn
has been deprecated and will be removed in a future version. -
API:
ntop
parameter has been renamed totopn
-
API:
lower_bound
parameter has been renamed tothreshold
-
API:
use_threads
andn_jobs
parameters have been combined inton_threads
-
API:
return_best_ntop
parameter has been removed -
API:
test_nnz_max
parameter has been removed -
API: default parameter value for
threshold
changed from0.0
toNone
(disabled) -
API: default parameter value for
sort
changed toFalse
-
ENH: Add support for 32 and 64bit integers
-
BLD: Add support for CPython 3.12
- BLD: Switch to pyproject.toml based setup (scikit-build-core)
- FIX: [C++] Resolve unneeded memory allocation that solved hidden buffer-overrun in multithreaded implementation
- BLD: [C++] Switch to Nanobind bindings
- CHG: [C++] Switch to OpenMP for multithreading
- ENH: [C++] Use MaxHeap to collect top-n results over vector of candidates
- Adds support for Cython >= 3.0
- Restrict Cython version to <3.0
- Add Python 3.11 wheels
- Fix a compilation error when std:: is missing
- Upgrade to 0.3.3, since PyPI had versioning problem when we release 0.3.2
- Fix the Numpy ABI compatibility issues issue-48 and all related issues
- Add Github Actions to build Python release in Linux, MacOS and Windows automatically
- Adding the possibility to use smaller data type float32 instead of the default float64
- Adding unit tests to cover both data types
- Adding unit tests to cover return_best_ntop==False
- defragmented memory used during computation PR-53
- Enable Github Action for unit test
- add license metadata PR-47
- added unit tests.
- awesome_cossim_topn checks for zero input matrices.
- fix flake8 warnings.
- quick fix for nt installation problem [ISSUE-26]
- add n_jobs value validation
- matrix dimension validation
- change windows mingw32 compiler
- fix numpy and Cython install dependency
- import parallel implementation
- fix python 2 install problem
- fix python 2 install problem, but failed
- Make long description use markdown format
- update readme file name
- fix the problem when pip install by tar.gz;
- update meta-information of package
- improve the function import layer. Now awesome_cossim_topn can be used directly after
from sparse_dot_topn import awesome_cossim_topn
. - improve the module installation
- Release the first version