Code Monkey home page Code Monkey logo

pde-stride's Introduction

PDE-STRIDE

This repository contains codes and data-sets for the PDE inference from limited spatio-temporal data.

Code for the paper "Stability selection enables robust learning of partial differential equations from limited noisy data" by Suryanarayana Maddu, Bevan L. Cheeseman, Ivo F. Sbalzarini and Chrisitan L. Mueller.

Files description

********************************* Iterative_solvers_l0_l1.py ******************************************

This files contains the following functions:

build_linear_system(--) : Outputs Theta and Ut for gridded values of the state-variable measurements. Iterative_hard_thresholding_debias(--) : Outputs IHT-d sparse solutions STridge(--) : Outputs STRidge sparse solutions stability_selection(--) : Outputs statistics aggregated over sub-sampled based repetitons of sparse-regression


**************************************** basic_demo.ipynb ******************************************** Used to demonstrate basic concepts like regularization paths and stability plots using Burgers data-set.

The notebook produces stabilty plots for LASSO, STRidge and IHT-d sparsity-promoting algorithms.

Run the notebook for inferring Burgers equations from limited and noisy-data set.

Parameters to play-around: N = sample size D/P - to set the dictionary size p. D - max derivatives order, P - max polynomial order noise-level


******************************************** Burgers.py ***********************************************

---- Code to reproduce the plots for Burgers recovery upto 4-5 noise-levels for N = 250. De-noising is achieved through truncating SVD singular values at the elbow.

Writes the output to files "IHTd_Burgers_n + str(sigma) + _N+str(N)_p+str(p)_dim+str(SVDmode)_B250.txt"

The output files are read in the notebook "Burgers_results_visualization.ipynb" for visualization of stability plots.

Try to play around with the sample-size (N), dictionary-size (p) and noise-levels.


pde-stride's People

Contributors

suryanarayanamk avatar

Watchers

James Cloos 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.