GithubHelp home page GithubHelp logo

dmohorcic / su_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 77.34 MB

License: Apache License 2.0

Python 9.29% Batchfile 0.04% Shell 0.05% Jupyter Notebook 77.47% Dockerfile 0.01% TeX 13.15%

su_project's Introduction

SU project - Time Series Forecasting

This repository contains the work of my Machine Learning course project. I focused on different models for Time Series Forecasting.

Environment

Environment can be created using:

conda create -n suTSF python=3.8
conda activate suTSF

Before running next commands install Pytorch with cuda for your system (cuda is required for SCINet model). After installing Pytorch the following packages need to be installed:

conda install nb_conda seaborn
conda install numpy pandas
conda install scikit-learn tensorboard -c conda-forge
conda install pytorch-forecasting
conda install statsmodels -c conda-forge

If the previous instalation fails, the whole conda environment is located in environment.yml file. The environment can be created and run with:

conda env create -f environment.yml
conda activate suTSF

It is discouraged to create conda environment from file due to some CUDA specific packages.

start jupyter notebook must be run from the root of this repository.

Data

This repository uses five different datasets: electricity, traffic, solar, exchange, and ETTh1. Electricity dataset can be downloaded here. Traffic, exchange, solar, and ETTh1 datasets can be downloaded here. They must be placed inside data folder in the root of this directory.

For SCINet the data from the second link must be placed inside SCINet/datasets/ using the same folder structure as the one in the link.

Structure

We have code for four different models. Each model is in its own folder:

  1. ARIMA (part of statsmodels package)
  2. TRMF (TRMF on GitHub)
  3. DeepAR (part of pytorch-forecasting package)
  4. SCINet (SCINet on GitHub)

Inside first three folders is a Jupyter Notebook called <model>_test.ipynb which has the code for reproducibility. The SCINet model is run with provided commands in author's README.md file.

*.xlsx files contain the results of my tests and experiments.

su_project's People

Contributors

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