-
Notifications
You must be signed in to change notification settings - Fork 215
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
can training data is 3-D form? #7
Comments
It has been a while since I looked at the code. I believe it only takes one
feature at a time.
…On Fri, Sep 22, 2017, 6:28 PM Lynn Wong ***@***.***> wrote:
@markdregan <https://github.com/markdregan>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3KFtOiG2oiuU5OOWdTAXAbOHwNOsTbks5slF7PgaJpZM4PgLDd>
.
|
@markdregan thank you so much~ It deals with n_features by using dist: Is it the normal way of handling multi-features or other way? |
In my repo, you would need to update the function The Or, you could use my code as if. Iterate through your dataset per feature - saving the distance matrix for each comparison of x and y. Then write your own method to do arg_sort across the feature distance matrices. |
From Dr. Keogh and Dr. Mueen's talk on DTW last year:
The main difference is how tightly coupled you think the dimensions are (IE: how much is the position of one likely to reflect the position of the other). If you are sure the data is tightly coupled, method 2 is slightly better. However, as soon as random lags appear in your data you'll see the independent method (1) far outperform method 2. He goes on to share some interesting, but not really relevant here, notes on how to keep dimensionality low (usually <5) and choose the best dimensions. The most important part there is that, when using DTW, using too many dimensions is less accurate than using even one random dimension alone. In short,
While it might be useful to bake this in as a convinience feature, it depends quite a bit on use case. |
I am new to Dynamic Time Warping and your note helps quite a lot. Thank you for your sharing. My input
data is 3-D, having shape of (n_samples, n_timesteps,n_features). I am not sure how to transfer it into using the model. Thank you so much!
The text was updated successfully, but these errors were encountered: