-
Notifications
You must be signed in to change notification settings - Fork 99
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
Getting negative values for distance #27
Comments
Negative distances seem to be a possible output of the algorithm, a feature which is addressed in a later work that is also implemented at: https://github.com/google-research/soft-dtw-divergences |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why do I get negative values from distance with some values for gamma?
For example, on a trajectory dataset, I had to choose gamma=1e-15 in order to get positive values. But this is nothing than dtw!
The dataset I used is available here: https://archive.ics.uci.edu/ml/datasets/GPS+Trajectories
In other datasets that I examined, gamma needs to be chosen carefully and small enough to works. Am I right?
The text was updated successfully, but these errors were encountered: