Coder Social home page Coder Social logo

siplab-gt / emd-df Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

MATLAB implementation of the Earth Mover's Distance Dynamic Filtering (EMD-DF) algorithm from Bertrand et al., 2018

Home Page: https://arxiv.org/abs/1806.04674

MATLAB 100.00%
dynamic-filtering optimal-transport

emd-df's Introduction

Earth Mover's Distance Dynamic Filtering

MATLAB implementation of the EMD-DF algorithm (paper).

Paper abstract

Sparse signal models have enjoyed great success, achieving state-of-the-art performance in many applications. Some algorithms further improve performance by taking advantage of temporal dynamics for streaming observations. However, the tracking regularizers are often based on the $\ell_p$-norm which does not take full advantage of the relationship between neighboring signal elements. In this work, we propose the use of the earth mover's distance (EMD) as an alternative tracking regularizer for causal tracking when there is a natural geometry to the coefficient space that should be respected (e.g., meaningful ordering). Our proposed earth mover's distance dynamic filtering (EMD-DF) algorithm is a causal approach to tracking time-varying sparse signals that includes two variants: one which uses the traditional EMD as a tracking regularizer for sparse nonnegative signals, and a relaxation which allows for complex-valued signals. In addition, we present a computationally efficient formulation of EMD-DF (based on optimal transport theory), improving computational scalability for large state vectors. Through a series of simulations, we demonstrate the advantages of EMD-DF compared to existing methods on tracking sparse targets in state vectors with multiple dimensions and tracking sparse frequencies in time-series estimation. In the context of frequency tracking, we illustrate the advantages of EMD-DF in tracking neural oscillations in electrophysiology recordings from rodent brains. We demonstrate that EMD-DF causally produces representations that achieve much higher time-frequency resolution than traditional causal linear methods such as the Short-Time Fourier Transform (STFT).

Requirements

Getting started

  • Download and install the CVX optimization package for MATLAB
  • Clone the code in this repository: git clone https://github.com/siplab-gt/emd-df.git
  • Run demo.m in MATLAB which should produce the following: Demo output

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.