Zhe Sun

Results 12 comments of Zhe Sun

I use another package https://github.com/ing-bank/sparse_dot_topn with cython and numpy. And from today/yesterday, I got exactly the same error `numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header,...

@omarsumadi thanks for the comments. I am the author of sparse_dot_topn. I didn't change the source code recently and have no idea why this happening...

@omarsumadi Thanks a lot for your investigation. I also open an [issue](https://github.com/ing-bank/sparse_dot_topn/issues/48) in [sparse_dot_topn](https://github.com/ing-bank/sparse_dot_topn) package to refer this issue. **numpy 1.20.0 works for me.** In my environment which has problem,...

@sheboke93 this package works with pyspark. You can check this video https://databricks.com/session/large-scale-fuzzy-name-matching-with-a-custom-ml-pipeline-in-batch-and-streaming The spark integration is at around 10:00.

@rohanrajpal thanks for the message. Years ago when we build this package, we investigated the GPU solution. We didn't find a cuda sparse matrix multiple sparse matrix solution at that...

@vidushi97 probably your current folder has `sparse_dot_topn` subfolder?

@yinxiongchen thanks for your interests. This package only support cosine similarity. If you want other metrics approximately similarity computation, you can check some package like https://github.com/spotify/annoy or https://github.com/facebookresearch/faiss

@cibic89 thanks! Could you please elaborate it a bit?

@jtlz2 thanks for your feedback! We just released [v0.3.3](https://pypi.org/project/sparse-dot-topn/#files). We employed Github actions and CiBuildWheel, and make the wheels available for Py3.6-3.10 on multiple architectures of Linux, MacOS and Windows....

Hi @holgi , I think it should be `get_active_principals` in depends instead of `get_current_user`. ``` async def show_items( ilr: ItemListResource = Permission("view", ItemListResource), user=Depends(get_current_user), ): ```