Coder Social home page Coder Social logo

mando1106 / timeawarernn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tdmeeste/timeawarernn

0.0 0.0 0.0 805 KB

Code used for the AAAI 2020 paper "System Identification with Time-Aware Neural Sequence Models"

License: GNU General Public License v3.0

Python 100.00%

timeawarernn's Introduction

TimeAwareRNN

This repository provides the data and code for running the experiments described in the paper System Identification with Time-Aware Neural Sequence Models (published at AAAI 2020). The software has been tested with python 3.7.3 and pytorch 1.1.0.

For now, I've uploaded (a slightly thinned out version of) the research code (you know what I mean). It still has command line options you'd never use (e.g., for the artificial baselines). However, I think some of the code can be used for further experimentation on modeling time series with recurrent neural networks.

In particular, the taho package (fortime-aware higher-order) contains code for

Feel free to use what you need from the code. If you do, please cite the following paper:

Demeester, T. 2020. "System Identification with Time-Aware Neural Sequence Models", In 34th AAAI Conference on Artificial Intelligence (AAAI 2020), New York, USA. AAAI Press.

Don't hesitate to drop me an email (see the header of the paper) if you have questions of suggestions.

Experiments

I used the Continuous Stirred Tank Reactor (CSTR) data, as well as the data from a Test Setup of an Industrial Winding Process (Winding), both from the DaISy dataset. The main.py files in both the CSTR and winding folder are largely similar, but I kept them separate for now. For convenience I've already included the data files with the normalized values and missing data (in the respective data subfolders within CSTR and winding).

The results for Table 4 (time-aware higher-order GRU extension) can be obtained as follows.

For CSTR, from within the CSTR folder:

# RK4 scheme
python main.py --model GRU --time_aware variable --scheme RK4 --k_state 20 --missing 0.50 --lr 0.001 --batch_size 512

For winding, from within the winding folder:

# RK4 scheme, linear input interpolation
python main.py --model GRU --time_aware variable --scheme RK4 --interpol linear --k_state 10 --missing 0.50 --lr 0.003 --batch_size 512

Note that the reported results are the average over 5 runs with different random seeds. Given the provided standard deviation, the obtained values may therefore deviate from the reported ones.

The following options are needed for the baselines:

  • --time_aware set to no for time-unaware models, or input for using the interval width as input feature in a fixed-width scheme.
  • --model set to GRU, GRUinc, ARNN, or ARNNinc, with ARNN for the anti-symmetric RNN, and inc for the incremental (non-stationary) schemes.

timeawarernn's People

Contributors

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