Giter VIP home page Giter VIP logo

Comments (9)

hughrawlinson avatar hughrawlinson commented on May 29, 2024

I believe @jakubfiala is nearly done on this

from meyda.

hughrawlinson avatar hughrawlinson commented on May 29, 2024

Removing v3.0 milestone as it isn't ready.

from meyda.

nevosegal avatar nevosegal commented on May 29, 2024

@jakubfiala, I had a quick look at the autocorrelation function you started implementing (wow how much had changed since then!), and it feels really complicated for a relatively simple feature. As far as I understand it (correct me if I'm wrong), autocorrelation is basically convolution of a signal with itself. However, this is not efficient and people often implement it as: FFT-> point-wise multiplication of spectrum with its complex conjugate -> IFFT. I'll have a look if I can quickly implement this technique in the following days and let you know how it's going.

from meyda.

hughrawlinson avatar hughrawlinson commented on May 29, 2024

@nevosegal jsfft does actually provide an (undocumented) inverse fft, and we already have a point-wise multiplication function, so this should be very easy as a feature extractor. Do you or @jakubfiala want to get it done? I can pick it up if you like, but I'd like some help with verifying that it's correct, as I'm not very familiar with what this feature is used for, and what its characteristics are.

from meyda.

jakubfiala avatar jakubfiala commented on May 29, 2024

yeah, I think I just followed the technique they used in yaafe. Using the ifft would be immensely more efficient for sure.

from meyda.

nevosegal avatar nevosegal commented on May 29, 2024

I'll try implementing it and we'll see.

from meyda.

nevosegal avatar nevosegal commented on May 29, 2024

OK, so I've checked and it is possible to compute it using an FFT, and even simpler using the IFFT of a power spectrum (see this question on stackoverflow). The only problem we have is that we only only compute the power spectrum on half of the amplitude spectrum (up to the nyquist), which is problematic for ACF. We should consider passing the full amplitude spectrum to the extractors. We'll probably have to change some for loops but other than that I don't see an issue with doing this.

from meyda.

hughrawlinson avatar hughrawlinson commented on May 29, 2024

Ok, anything I can do to help?

from meyda.

nevosegal avatar nevosegal commented on May 29, 2024

Nope, just writing my thoughts atm.. :D thanks

from meyda.

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.