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

Implement Jaccard similarity function in Python #6

Open
OlivierBinette opened this issue Apr 1, 2022 · 0 comments
Open

Implement Jaccard similarity function in Python #6

OlivierBinette opened this issue Apr 1, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@OlivierBinette
Copy link
Owner

OlivierBinette commented Apr 1, 2022

Implement the Jaccard similarity function which, given two strings s and t, and given a Tokenizer instance tokens, returns the jaccard similarity between tokens(s) and tokens(t).

Here a tokenizer is a function which transforms a string into a set (or a multiset). The Jaccard similarity between two sets A and B is defined as |A and B|/|A or B|

@OlivierBinette OlivierBinette added the good first issue Good for newcomers label Apr 1, 2022
@OlivierBinette OlivierBinette added this to the distance module milestone Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant