GithubHelp home page GithubHelp logo

goku's Introduction

GOKU - Deep Generative ODE Modelling with Known Unknowns

This repository is an implementation of the GOKU paper: Generative ODE Modeling with Known Unknowns.

Data creation

To create the datasets used in the paper run:

  • Friction-less pendulum: python3 create_data.py --model pendulum
  • Friction pendulum: python3 create_data.py --model pendulum --friction
  • Double-pendulum experiment: python3 create_data.py --model double_pendulum
  • Cardiovascular system: python3 create_data.py --model cvs

The data would be created using default arguments. To view / modify them check the file config.py, and create_data.py.

Training

To train the GOKU model run: python3 goku_train.py --model <pendulum/pendulum_friction/double_pendulum/cvs>

To train baselines:

  • Latent-ODE: python3 latent_ode_train.py --model <pendulum/pendulum_friction/double_pendulum/cvs>.
  • LSTM: python3 lstm_train.py --model <pendulum/pendulum_friction/double_pendulum/cvs>.
  • Direct-Identification (DI) has 3 different files for the different datasets (it cannot run the friction pendulum, since it needs the entire ODE functional form):
    • Pendulum: python3 di_baseline_pendulum.py
    • Double Pendulum: python3 di_baseline_double_pendulum.py
    • CVS: python3 di_baseline_cvs.py

Requirements:

  • python 3
  • pytorch
  • numpy
  • gym (for the pendulum and double pendulum experiments)

goku's People

Contributors

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