-
Notifications
You must be signed in to change notification settings - Fork 20
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
MASS - First distance missing #9
Comments
@albertasdvirnas Thank you for submitting the issue. I am actually unable to reproduce the missing first distance with the MASS algorithm. If you can provide some data to reproduce the issue, it would help me out a lot. |
returns array([1.85113597]), while I expect it to return something like array([0, 1.85113597]) ? |
Generally, MASS2 is the preferred algorithm over MASS. I simply implemented MASS to try to have a complete module. The original author's implementation of MASS has this same caveat. If you have a solution to fix this, then feel free to make a contribution. The original MASS implementation is here: |
Description
I was trying to compare two time series query=X and ts=XY, i.e. time series has identical beginnings
What I Did
I ran actual = mts.mass(ts, query)
I noticed that the algorithm doesn't return a score of query along the first position of ts. A hot fix seems to add some random number in front of ts
The text was updated successfully, but these errors were encountered: