Coder Social home page Coder Social logo

Comments (5)

rtavenar avatar rtavenar commented on June 26, 2024

Hi,

First, it's always great to read that these repos might help for diverse applications, so thanks for the feedback. Concerning your first point, I believe this would definitely make sense to try to use dtw_resample for that. The only point I see is that up to now, dtw_resample is coded to have a single dimension as base modality, but I guess if you use speech, you would have multidimensional features (such as MFCC or CNN-extracted features, or ...) as base modality, so that would require a bit of code re-writing. Let me know about that so that I can maybe think of a code update that would allow that.

Second, LR-DTW might fit your needs. I have been thinking about providing a Cython-based version of it, so maybe it would be the occasion to try it on your data and see what it gives.

Finally, using both dtw_resample and LR-DTW together would require slight modification to the dtw_resample code base (as there is no single path for LR-DTW as for DTW) but it could be a nice application: in this case, I do not think I would merger both repos but rather have dtw_resample depend on LR-DTW.

Let me know about your speech experiments, I would be glad to help.

Romain

from dtw_resample.

bendichter avatar bendichter commented on June 26, 2024

Romain,

I'm glad I contacted you! Your are absolutely right that I need distance metrics that work on multimodal signals. That is true when I am warping based on audio and based on neural data (as I have multiple channels here as well).

For the LR-DTW, I'm not very familiar with that approach, but I thought the algorithm outputs a single path that is a compromise between the naive warp and the no warp. It sounds like it actually outputs a distribution over paths. Is there any way to get a maximum likelihood path? Is there a different algorithm out there that performs this? I am also looking into CTC, which I think might solve the problem more directly, but there as well I think I may need some type of warp regularization.

Thanks!
Ben

from dtw_resample.

bendichter avatar bendichter commented on June 26, 2024

oh, I also need to warp a time series with one sampling frequency and apply that warp to a time series with another sampling frequency.

from dtw_resample.

rtavenar avatar rtavenar commented on June 26, 2024

After a while, I decided to start a new repo to answer your needs that would gather algorithms dedicated to the analysis of time series data. You can find it here, at the moment, it supports DTW resampling with multimodal data (documentation yet to come) and includes LR-DTW. Note however that the coupling between LR-DTW and dtw_resample has not been tested yet.

from dtw_resample.

bendichter avatar bendichter commented on June 26, 2024

from dtw_resample.

Related Issues (1)

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.