-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix: Refs #207 Fix implementation of Jensen Shannon measure #233
Conversation
The Jensen Shannom measure implementation in SimSIMD is different from the implementation in scipy. It turns out that a scaling factory of 0.5 was missed and this fix seems to match the example provided in scipy documentation
Here is the numerical error report:
|
Hi, @GoWind! It seems like you didn't take care of the x86 code. It's also not recommended to use the |
Hi @ashvardanian , I am working on a follow up PR for the intel versions, will submit them in a day or so. Regd, |
@ashvardanian , glad to :) #187 is marked as closed, does it still need a fix ? I will try to fix 202 or 203 as well and then see how I can contribute to the kernel fn documentation for C :) |
My mistake, meant #184 🤗 |
will try to get a PR for that as well ! |
Fix: Jensen Shannon square roots (#233)
The Jensen Shannom measure implementation in SimSIMD is different from the implementation in scipy. It turns out that a scaling factory of 0.5 was missed and this fix seems to match the example provided in scipy documentation.
Matches the examples provided in the scipy documentation