-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add jaccard similarity metric #20
Conversation
@polvalente @jonatanklosko It's missing a case for binary attributes (the formula would be different for this case) .. What do you think of adding it as option? type: :binary or something..
It's was supposed to return 0.4 instead.. |
@tiagodavi I think adding a |
The binary case has a different semantics and implementation, so I would have it separately as |
It makes sense. Is there anything else missing to have this one approved? |
I'll leave this open for a last pass on Jonatan's part |
Looks good, just a couple final comments! |
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
@jonatanklosko added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@polvalente @jonatanklosko Can I have my name Assigned to the PR? |
Calculate Jaccard similarity. I'll create a PR to calculate dissimilarity as well.