Git Product home page Git Product logo

dmdz's Introduction

dmdz

dmdz is a Python 3 toolkit for Dynamic Mode Decomposition (DMD). DMD is a dimensionality reduction algorithm for extracting dynamical features from data and forecasting the future state of a dynamical system.

This package is my custom build of DMD, including enhancements on exact DMD, advanced techniques such as Optimal DMD (optDMD), and built-in plotting tools with SVG out options.

The package is in pre-alpha. Your mileage may vary.

Install

Within your desired virtual environment, run the following:

git clone https://github.com/shervinsahba/dmdz
cd dmdz && pip install .

If you wish to change the codebase, install as a development package with pip install -e . instead, and feel free to then open issues and pull requests here. Thanks!

Depedencies

numpy, scipy, matplotlib, seaborn, and svgutils.

I plan to remove the seaborn dependency in the future, but for now it makes pretty plots. Svgutils is a lesser known module, but it's a powerful tool to compose vector graphics. I may shift to making it optional.

Notes

I wanted to build a variant and competitor to PyDMD, but I got in over my head with other projects. This package supports a DMD class which also computes fbDMD and tlsqDMD via options, as well as an optDMD class. A variety of plots can be quickly generated with function calls. If I remember right, my optDMD code passed all my tests ported from the original MATLAB tests for Travis Askham's sample data. But because differing libraries had to be used, there might be fringe issues. I put my faith in Travis's work, but there may be some hidden issues in the original codebase regardless. Keep your eyes peeled!

This build may experience some weird plotting issues as well. YMMV. Please raise an Issue or Pull Request. I'd be happy to augment it.

dmdz's People

Contributors

shervinsahba avatar

Watchers

James Cloos avatar  avatar

Forkers

detectivekiwi

dmdz's Issues

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.