GithubHelp home page GithubHelp logo

rodrigo-pena / src-localization-graphs Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 41 KB

Implementation of algorithms for source localization on graphs via l1 regularisation and spectral graph theory.

License: MIT License

MATLAB 100.00%

src-localization-graphs's Introduction

src-localization-graphs

MATLAB implementation of an algorithm for source localization on graphs via l1 regularization and spectral graph theory. As presented in our paper:

R. Pena, X. Bresson, and P. Vandergheynst. "Source Localization on Graphs via l1 Regularization and Spectral Graph Theory". 12th IEEE Image, Video, and Multidimensional Signal Processing Workshop (IVMSP), 2016.

The code is released under the terms of the MIT license. Please cite the paper above if you use it.

DOI

Requirements

Make sure to download and install the following toolboxes:

Installation

  1. Clone this repository.
 git clone https://github.com/rodrigo-pena/src-localization-graphs
 cd src-localization-graphs
  1. Install the dependencies mentioned on the previous section.

  2. In MATLAB, change the current directory to the src-localization-graphs folder and run src_loc_start.m to automatically add all the subfolders to your path.

  3. Run demo_alternate_optimization.m to see if everything works fine.

Remark: John Snow's GIS, and ETEX data

If you want to work with John Snow's GIS, or the ETEX data (as used in the paper), you will need to clone another repository, load-data, and follow the installation instructions in the README therein.

Folders

Contains the main functions of the toolbox. Use function alt_opt.m to simultaneously learn the source locations and the diffusion kernel. If the source locations are known, use learn_param_kernel.m to learn the diffusion kernel. If the diffusion kernel is known, use learn_sparse_signal.m to learn the source locations.

Contains a third party function to plot error bars over a surface embedded in 3-dimensional space. Used only in testbench.m.

Contains demonstrations of what can be done with the toolbox. The names should be self-explanatory.

Contains the scripts for reproducing the experiments in paper.

Contains the numerical solvers used in the alternate optimization problem: FISTA, and Newton's method.

Contains useful functions for the toolbox, such as error measures, parameter estimation and initialization strategies, etc.

Usage

To use the source localization algorithms on your data, you'll need:

  1. A graph stored in GSPBox-compatible format.
  2. A source indicator vector, with non-zero elements on the indices representing the source nodes, and zeros everywhere else.
  3. An observation vectorn whose entries encode the signal value at each node.
  4. A parametric kernel representing the diffusion process.

See any of demos for examples on how to call the methods. Please get in touch if you are unsure about how to adapt the code to your settings.

References

R. Pena, X. Bresson, and P. Vandergheynst. "Source Localization on Graphs via l1 Regularization and Spectral Graph Theory". 12th IEEE Image, Video, and Multidimensional Signal Processing Workshop (IVMSP), 2016.

src-localization-graphs's People

Contributors

rodrigo-pena avatar

Watchers

 avatar  avatar

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.