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

Does DTW implementation work with multivariate time series? #16

Open
hadware opened this issue Oct 13, 2017 · 3 comments
Open

Does DTW implementation work with multivariate time series? #16

hadware opened this issue Oct 13, 2017 · 3 comments

Comments

@hadware
Copy link

hadware commented Oct 13, 2017

The question is pretty self explanatory. If it does, maybe it'd be good to mention it in the README.md.

@nabsabraham
Copy link

@hadware did you figure out if it does?

@hadware
Copy link
Author

hadware commented Sep 1, 2018

It's been a long time since i've been working on a project that required this, but I think it does.

@fmeccanici
Copy link

fmeccanici commented Mar 30, 2020

Yes it does this. The numpy array should have the following structure ( I'm using it for Cartesian space trajectories):

    x                      y                  z

[[ 0.41493465 -0.39322514 1.14685164]
[ 0.41546143 -0.3939345 1.14602891]
[ 0.41591845 -0.39457089 1.14531319]
...
[ 0.60821661 0.07143943 0.7978909 ]
[ 0.60813073 0.0714391 0.79794052]
[ 0.60804489 0.07143876 0.79798989]]

I had to transpose my numpy multidimensional array to acquire this structure.

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

3 participants