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

Cosine_distance and Fuzz_Score #13

Open
schammass-zz opened this issue Sep 10, 2021 · 0 comments
Open

Cosine_distance and Fuzz_Score #13

schammass-zz opened this issue Sep 10, 2021 · 0 comments

Comments

@schammass-zz
Copy link

Hi Matthew,

First of all, I'like to thank you for share with us your knowledge. I appreciate so much. I have learned a lot.

In relation to the functions cosine_distance and fuzz_score, I used in my dataframe and gave me very strange results.

For Cosine_distance, I should have results between -1 and 1 and I have -2.2240446049250313E-16. Please take a look:

full_name1 |full_name2 |cosine_distance |
+-------------------+-----------------------------+----------------------+
|John Stevenson Due |John Stevenson Due |-2.220446049250313E-16|

For Fuzzy_Score for the same example, I had a score of 52, instead of result between 0 and 1.

Fuzzy Score
+-------------------+-----------------------------+------------+
|full_name1 |full_name2 |fuzzy_score|
+-------------------+-----------------------------+-----------+
|John Stevenson Due |John Stevenson Due |52

Could you please check it out?

Thanks a lot,

Rodrigo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant