Coder Social home page Coder Social logo

peterhob / pangeo_lstm_example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kratzert/pangeo_lstm_example

0.0 0.0 0.0 237 KB

Example notebook, showing how to use LSTMs for rainfall-runoff modeling

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 100.00%

pangeo_lstm_example's Introduction

Rainfall-runoff modelling using LSTMs

Binder

This is an example notebook on how to use LSTMs for rainfall-runoff simulations. We make use of the PyTorch deep learning library and the CAMELS data set

Run on Pangeo cluster

Click the launch binder button/icon above to run the notebook on the Pangeo server and to walk through this example without the need of installing anything.

Run locally

  1. Download the CAMELS data set from here

  2. Download and extract or clone the run_local branch git clone -b run_local --single-branch [email protected]:kratzert/pangeo_lstm_example.git

  3. (Optionally) Create conda environment from the environment.yml file in the binder/ directory. If you have a GPU available, make sure to install the PyTorch GPU version.

  4. Start Jupyter Notebook/Lab and make sure to change the CAMELS_PATH in the first code box to your local CAMELS path.

Related article

In our paper "Rainfall–runoff modelling using Long Short-Term Memory (LSTM) networks" we tested the LSTM on various basins of the CAMELS data set. This notebook shows how to replicate experiment 1 of the paper in which one LSTM is trained per basin. Note: This is not an exact replication of the model setup, but can be easily extended to the settings of the paper.

If you use this repository in your work, please cite:

Kratzert, F., Klotz, D., Brenner, C., Schulz, K., and Herrnegger, M.: Rainfall–runoff modelling using Long Short-Term Memory (LSTM) networks, Hydrol. Earth Syst. Sci., 22, 6005-6022, https://doi.org/10.5194/hess-22-6005-2018, 2018. 

pangeo_lstm_example's People

Contributors

jhamman avatar kratzert 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.