Coder Social home page Coder Social logo

d3sm0 / ntsa Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 4.0 8.44 MB

Neural Time Series Analysis

License: MIT License

Python 3.80% Jupyter Notebook 96.13% Makefile 0.02% Dockerfile 0.04% Shell 0.01%
deep-learning neural-network timeseries tensorflow seq2seq attention sdtw series-forecasting regression neural-processes

ntsa's Introduction

Neural Time Series Analysis

Introduction

Neural Time Series Anaylsis is an attempt to provide an easy to use interface to modern time-series research from the machine learning community. The library features several models, for 1d time-series regression that have been collected thanks to researchers that published their code and hackers that tried to reproduce them.


Features

  1. Recurrent models can use the Input Attention mechanism as developed in the DARNN paper, to increate interpretability in case of high-dimensional feature space.
  2. (Conditional) Neural Processes in the regression setting, can provide mean and variance for each estimate.
  3. Soft Dynamic Time Warping for time-series alignment

Datasets

This library comes with the following datasets:

Pickle file can be found here.

To adapt a new dataset, please check utils.dataset_utils.py.


Models


Install

For Pip users:

Pip

git clone github.com/d3sm0/ntsa.git
cd ntsa
pip install -r requirements.txt

This library also requires to install the soft-dtw loss function.

Docker

If you are used to docker than maybe this can work better:

make docker
make dev

Usage

python main.py --model seq2seq --loss sdtw  --mode train --data_path data/

Remark

This repo is still under refinement and I'm planning to move to eager mode in the upcoming weeks. Nevertheless is usable for early experiments, there for Fork it and hack with it :) Pull request are welcome, and if you need help in making it work, just open an issue.

I warmly advice to read the original paper of the model or loss function that you are planning to use, before moving in the experimental part.

ntsa's People

Contributors

d3sm0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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