Giter Club home page Giter Club logo

mise.py's Introduction

Models

Univariate Statistical Learning Models

  1. OU
  2. ARIMA (might AR)

Univariate Machine Learning Models

  1. MLP
  2. MLP + MCCR Loss
  3. Bahdanau Attention
  4. Bahdanau Attention + MCCR

loss function input for Train/Valid/Test set

  • Train/Valid : Loss between y_hat and y (transformed))
  • Test : Loss between y_hat_inv (inverse transformed) and y_raw

Multivariate Machine Learning Models

  1. XGBoost
  2. MLP
  3. MLP + MCCR
  4. LSTNet (Skip Layer)
  5. LSTNet (Skip Layer) + MCCR
  6. Transformer
  7. Transformer + MCCR

loss function input for Train/Valid/Test set

  • Train/Valid : Loss between y_hat and y (transformed))
  • Test : Loss between y_hat_inv (inverse transformed) and y_raw

Frameworks

  • PyTorch (>= 1.8.0)
  • Optuna (>= 2.3.0)
  • scikit-learn (>= 0.24.0)

Container

  • Run in Singularity (>= 3.6) container generated torch-py3.def
  • Run singularity with following commands
    • bind paths (/input for input, /mnt/data for output)
    • enable nvidia devices by --nv
    • containers refer requirements.txt generated from following command
    $ poetry export -f requirements.txt --output requirements.txt --without-hashes
    
  • Running models in container (singularity) with commands
    TORCH_IMG=my_torch_img.sif
    CASES=rnn_mul_lstnet_skip_mccr
    CASE_NAME=210818_LSTNet_MCCR
    mkdir -p /data/appleparan/"${CASE_NAME}"
    singularity exec --nv --bind "${HOME}"/input:/input:ro,/data/"${CASE_NAME}":/mnt/data:rw ${TORCH_IMG} python3 -m mise --dl ${CASES}
    

Reference

  • LSTNet: arxiv link
    • Lai, Guokun, et al. "Modeling long-and short-term temporal patterns with deep neural networks." The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval. 2018.
  • Transformer: arxiv link
    • Zerveas, George, et al. "A Transformer-based Framework for Multivariate Time Series Representation Learning." arXiv preprint arXiv:2010.02803 (2020).
  • MCCR (Correntropy based Loss): JLMR link
    • Feng, Yunlong, et al. "Learning with the maximum correntropy criterion induced losses for regression." J. Mach. Learn. Res. 16.1 (2015): 993-1034.

Publication

mise.py's People

Contributors

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