Giter Site home page Giter Site logo

ivan-ivy / ecbm4040-final-project-wsae-lstm Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 493.91 MB

Attempt to replicate the WSAE-LSTM model defined by Bao, Yue, Rao (2017).

License: MIT License

Jupyter Notebook 80.46% Python 19.54%
lstm wsae-lstm stacked-sp wavelet-transform tensorflow-2

ecbm4040-final-project-wsae-lstm's Introduction

ECBM4040-final-project-WSAE-LSTM

Author: Yifan Liu yl4314

This is the final project of course ECBM 4040 Neural Networks and Deep Learning at Columbia University. The project is aim to replicate the WSAE-LSTM model from the paper A deep learning framework for financial time series using stacked autoencoders and long- short term memory.

The data set used in this project is provided by the original paper and can be found here.

Structure

The project structure follows the guidance of cookiecutter-data-science

├── LICENSE
├── README.md          <- The top-level README for developers using this project.
├── data
│   ├── interim        <- Normalized data
│   ├── processed      <- Data after WT and SAEs transformed.
│   └── raw            <- The original data.
│
│
├── models             <- Trained and serialized LSTM models
│
├── notebooks          <- Notebooks for training and evaluation
│   │     
|   ├── training.ipynb <- for training or reproducing result
|   └── evaluation.ipynb    <- used to show results
|
├── references         <- Reference papers.
│
│
├── requirements.txt   <- The requirements file for reproducing the analysis environment
│
├── src                <- Source code for use in this project.
│   ├── __init__.py    <- Makes src a Python module
│   │
│   ├── data           <- Scripts to download data
│   │   └── make_dataset.py
│   │
│   ├── features       <- Scripts to turn raw data into features
│   │   └── build_features.py
│   │
│   ├── models         <- Scripts to train models。
│   │   │            
│   │   ├── LSTM.py      <- LSTM models
│   │   ├── stacked_auto_encoder.py  <- SAEs models
│   │   ├── metrics.py   <- custom metrics for evaluation    
│   │   └── wavelet.py   <- wavelet transform       
│   │
│   └── visualization  <- Scripts to show final result
│       └── visualize.py
│
└── .gitignore   <- preclude unnecessary files in git           

Instruction of running code

The trained model are stored in models directory, using training.ipynb under ./notebook directory can use the trained model to make prediction and reproduce the results. To see the final evaluation, run evaluation.ipynb under ./notebook directory.

Key functions

Key models of this project are included in ./src/models directory, including wavelet tranform (WT), stacked autoencoder (SAEs), and LSTM. The WT an SAEs are used in generate_feature.py under ./src/feature directory. And LSTM models are called in training.ipynb notebook.

ecbm4040-final-project-wsae-lstm's People

Contributors

dependabot[bot] avatar ivan-ivy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.