Giter Site home page Giter Site logo

tapnet's Introduction

TapNet

This is a Pytorch implementation of Attentional Prototype Network for the task of (semi-supervised) classification of multivariate time series, as described in our AAAI 2020 paper:

TapNet: Multivariate Time Series Classification with Attentional Prototype Network

Run the demo

python train.py

Data

We use the latest multivariate time series classification dataset from UAE archive with 30 datasets in wide range of applications.

The raw data is converted into npy data files in the following format:

  • Training Samples (X_train.npy): an N by M by L tensor (N is the number of time series, M is the multivariate dimension, L is the length of time series),
  • Train labels(y_train.npy): an N by 1 vector (N is the number of time series)
  • Testing Samples (X_test.npy): an N by M by L tensor (N is the number of time series, M is the multivariate dimension, L is the length of time series),
  • Testing labels (y_test.npy): an N by 1 vector (N is the number of time series)

You can specify a dataset as follows:

python train.py --dataset NATOPS

(or by editing train.py)

The default data is located at './dataset'.

tapnet's People

Contributors

xuczhang avatar flash121123 avatar kdd2019-tapnet 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.