Giter Club home page Giter Club logo

Comments (2)

wannesm avatar wannesm commented on June 9, 2024

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.

MalcolmMielle avatar MalcolmMielle commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.