Replies: 2 comments 3 replies
-
|
Here is a Jaccard similarity index in ArcadeDB's SQL I am currently using: given two fields |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I'd love to add a new "Vector" model in ArcadeDB and Jaccard together to cosine and others could be written as native functions to increase performance and easy to use. WDYT? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Developers,
I would like to propose a new function to determine similarity of sets or collections: the Jaccard similarity index. Such a function is also available in other databases like AsterixDB or ArangoDB. Given the functions
intersect(),unionall(),count()and the method.asFloat()such a function can be emulated in ArcadeDB's SQL by something like:given sub-queries
$aand$b. However, this is only convenient as an end result, but not as an intermediate step, for example, if based on the similarity something else should happen. Thus, IMHO this function would be a good addition of functionality ArcadeDB currently does not provide.Thank you for considering this proposition
Beta Was this translation helpful? Give feedback.
All reactions