Git Product home page Git Product logo

stefaniaebli / dmt-signal-processing Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 1.0 12.45 MB

Signal compression and reconstruction on complexes preserving topological features via Discrete Morse Theory

Jupyter Notebook 99.13% Python 0.87%
signal-processing topological-data-analysis simplicial-complexes cell-complexes discrete-morse-theory laplacian signal-processing-on-graphs signal-processing-on-cell-complexes pooling-simplicial-neural-networks

dmt-signal-processing's Introduction

Signal Compression and Reconstruction on Complexes via Discrete Morse Theory

Stefania Ebli, Celia Hacker, Kelly Maggs

This repository contains the code used in the paper [Signal Compression and Reconstruction on Complexes via Discrete Morse Theory].

At the intersection of Topological Data Analysis (TDA) and machine learning, the field of cellular signal processing has advanced rapidly in recent years. In this context, each signal is processed using the combinatorial Laplacian, and the resultant Hodge decomposition. Meanwhile, discrete Morse theory has been widely used to speed up computations by reducing the size of complexes while preserving their global topological properties. We provide an approach to signal compression and reconstruction on complexes that leverages the tools of discrete Morse theory. The main goal is to collapse and reconstruct a complex together with a set of signals on its cells while preserving as much as possible the global topological structure of both the complex and the signal. We study how the signal changes under particular types of discrete Morse theoretic collapses, showing its reconstruction error is trivial on specific components of the Hodge decomposition. Furthermore, we provide an algorithm to compute collapses with minimal reconstruction error.

[Signal Compression and Reconstruction on Complexes via Discrete Morse Theory]:

  • Paper: [arXiv:][paper]

[paper]:

Installation

Binder ย  Click the binder badge to run the code from your browser without installing anything.

  1. Clone this repository.

    git clone https://github.com/stefaniaebli/signal-DMTheory.git
    cd cell-signal-processing-DMTheory
  2. Create the environment.

    CONDA_CHANNEL_PRIORITY=flexible conda env create -f environment.yml
    conda activate sdmt

Code

  • dmtsignal.py:
    • stores cell complexes
    • computes boundaries
    • computes laplacians
    • computes collapsed complexes and their respective boundaries
    • computes compressed and reconstructed signal
    • computes optimal up-matchings
    • computes optimal down-matchings
    • computes random sequences of collapses
  • dmtvisual.py:
    • visualizes nodes, edges and traingles in simplicial complexes
    • visualizes collapsed complexes and the compressed and reconstructed signal

Notebooks

  • up-collapses.ipynb: exlopres signal compression and reconstruction with up-collapses and provides examplesof optimal up-matching algorithm.
  • down-collapses.ipynb: exlopres signal compression and reconstruction with down-collapses and provides example sof optimal down-matching algorithm.

License & citation

The content of this repository is released under the terms of the MIT license. Please cite our paper if you use it.

@inproceedings{signal-dmt,
  title = {Signal Compression and Reconstruction on Complexes via Discrete Morse Theory},
  author = {Ebli, Stefania and Hacker, Celia and Maggs, Kelly},
  booktitle = {},
  year = {2021},
  archiveprefix = {arXiv},
  eprint = {},
  url = {},
}

dmt-signal-processing's People

Contributors

stefaniaebli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

opnumten

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.