Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I just try python version of ts-ss similarity but found we cannot produce similarity in bulk for matrices of v1(m x n) and v2(m x k). #5

Open
aadityachapagain opened this issue Oct 17, 2019 · 1 comment

Comments

@aadityachapagain
Copy link
Contributor

It need vectorization to support similarity measure for large matrices in bulk.
Current approch is quite slow.

@aadityachapagain
Copy link
Contributor Author

Hello ,
I just create a pull request containing code which user numpy for vectorized similarity calculation.
There already was a code for vectorized calculation using torch. but the main point here is we dont need torch for such a small operation which can be easily done by numpy in much optimized fashion.
Where if we need tensor of that similarity matrices we can easily convert it into either torch tensor or tensorflow entity.

I hope you understand.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant