Comments (2)
The matrix returned on line 90 by _, paths = dtw_ndim.warping_paths(tcp_ref, trajectory.tcp)
is always of shape (len(tcp_ref) + 1, len(trajectory.tcp) + 1)
. Can you share the shape in both cases? Are the values inside the matrices also different (if they appear random, it's probably an initialization issue)?
If tcp_ref
is different on both platforms, there might be an issue earlier, e.g. when calling dtw.distance_matrix_fast
. Is the output of this method the same on both platforms (assuming the input is the same)?
from dtaidistance.
I think I have pin pointed the error more accuratly. The trajectories that are aligned are extracted from three files. The order of those files is not the same between Raspberry pi and Fedora. I align all trajectories to a reference trajectory that is arbitrarly chosen. Luckily the reference is the same on both machine. But then the reference is aligned to one of the trajectories and itΕ a different one on each machine leading to an aligned reference that is a different length on both machines. Putting the files in the correct order actually solves the problem.
Sorry for the noise and thanks for giving pointer at what to look, it really helped!
Maybe that strategy to align multiple trajectories is not the best one and I should use one that is more robust.
from dtaidistance.
Related Issues (20)
- Subsequence search kbest_matches with k = None broken since commit 31f7703 HOT 1
- kbest_matches_fast is 5.5x slower on master than on 26c3962; k = None is 2.3x faster than k = len(series)-1 HOT 4
- sed: can't read s/^typedef when using make float HOT 4
- How is the DTW calculated between 3D time series? HOT 1
- Change Reqest | Custom cost function HOT 2
- conda-forge osx-arm64 build HOT 6
- error in plotting HOT 1
- Best path issue using subsequence in C HOT 2
- Install fails HOT 2
- I have two long audios, how do I find out the repetitions of them
- inconsistency between the documentation and implementation of use_ndim HOT 2
- Broken figures on readthedocs HOT 3
- Kernerl restarts on using dtw.warping_path_fast HOT 2
- Python 3.12 / NumPy 1.26 support HOT 2
- Maybe incorrect to calculate the dtaidistance.dtw_ndim.distance HOT 2
- Clustering labels HOT 1
- dtw_ndim.distance do not have inner_dist='euclidean' HOT 2
- dtw_ndim.distance_fast path problem
- trouble in dtw_ndim.distance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtaidistance.