Fix: Refs #207 Fix implementation of Jensen Shannon measure#233
Fix: Refs #207 Fix implementation of Jensen Shannon measure#233ashvardanian merged 6 commits intoashvardanian:main-devfrom
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