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

Why euclidean and ts ss result exceeding 1? #7

Open
thoriqadillah opened this issue Dec 7, 2022 · 1 comment
Open

Why euclidean and ts ss result exceeding 1? #7

thoriqadillah opened this issue Dec 7, 2022 · 1 comment

Comments

@thoriqadillah
Copy link

I tried the java version. When I run the example from the code, the result as follows
euclidean: 2.23606797749979
cosine similarity: 0.9999999999999998
ts ss: 4.6395825669994775E-4

I get that the cosine similarity is 0.99, because I expect it to be out of 1 or 100%. But why euclidean and ts ss exceed 100%. How to measure it then?

@lynnwilliam
Copy link

Ts ss and ecludian are not from 0 to 1.
You can get from 0.00 to infinity.
So the example is correct

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

2 participants