Coder Social home page Coder Social logo

diffseg's Introduction

diffseg

An implementation of the relaxed segmented model with TSP-based warping functions. The methodology is described and analysed in detail in the paper:

Erik Scharwächter, Jonathan Lennartz and Emmanuel Müller: Differentiable Segmentation of Sequences. In: Proceedings of the International Conference on Learning Representations (ICLR), 2021. [OpenReview] [arXiv]

We provide a simple Python module nwarp.py that contains PyTorch modules for all required components. The Jupyter notebooks demonstrate how to use the components for a large variety of tasks: Poisson regression on COVID-19 data (eval-covid19.ipynb), change point detection (eval-gaussiancp.ipynb), classification under concept drift (eval-conceptdrift.ipynb), and phoneme segmentation (eval-timit.ipynb).

Contact and Citation

  • Corresponding author: Erik Scharwächter
  • Please cite our paper if you use or modify our code for your own work. Here's a bibtex snippet:
@inproceedings{Scharwachter2021,
    author = {Scharw{\"{a}}chter, Erik and Lennartz, Jonathan and M{\"{u}}ller, Emmanuel},
    booktitle = {Proceedings of the International Conference on Learning Representations (ICLR)},
    title = {{Differentiable Segmentation of Sequences}},
    year = {2021}
}

Requirements

The nwarp module itself requires torch and libcpab (for the CPA-based warping functions). The Jupyter notebooks have additional dependencies that can be checked in the respective files.

License

The source codes are released under the MIT license. The data in RKI_COVID19.csv are published with the title "Fallzahlen in Deutschland" by Robert Koch Institute (RKI) under the Data licence Germany – attribution – Version 2.0 (dl-de/by-2-0)

diffseg's People

Contributors

diozaka 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.