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 do you use Euclidean distance as the metric of fts' similarity? #61

Open
zhoumumu opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@zhoumumu
Copy link

Hi! Thank you very much for your work! The preprocessing trimming code runs smoothly and it has been very helpful.

I'm curious as to why you chose to use Euclidean distance instead of cosine distance. Since the former has not been normalized to the range (0, 1), and thus difficult to select an appropriate threshold.

@zhoumumu
Copy link
Author

In addition, what does this line used for?

if len(events[-1]) == 0:

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