GithubHelp home page GithubHelp logo

mijanr / forecastflow Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 39.9 MB

An automated code-base for time-series forecasting

License: MIT License

Python 100.00%
deep-learning machine-learning python3 statitstical-learning time-series-forecasting

forecastflow's Introduction

ForecastFlow: An automated code-base for time-series forecasting

This repository contains the code for time-series forecasting using various models, such as InceptionTime, LSTM, XGBoost, etc. It contains the complete pipeline from data preprocessing, model building, training, hyperparameter tuning, and evaluation.

MLFlow tracks the experiments and logs the metrics, parameters, and artifacts. Hydra manages configurations, and Optuna optimizes hyperparameters.

The code is designed to be modular and scalable. You can easily add new models, preprocessors, and data loaders!

Data

The data used in this project is the Beijing Multi-Site Air Quality from the UCI Machine Learning Repository. It contains hourly air quality data from 12 different sites in Beijing. The data is preprocessed and aggregated to hourly/daily/weekly data for forecasting purposes.

Models

The following models are used for forecasting:

  • XGBoost
  • LSTM
  • InceptionTime
  • etc.

Results

The following are the results of the forecasting models:

  • InceptionTime with hourly data, past_horizon = 10, forecast_horizon = 1:

  • LSTM with hourly data, past_horizon = 10, forecast_horizon = 1, with Standardized data:

  • XGBoost with hourly data, past_horizon = 10, forecast_horizon = 1:

Different windows were used for forecasting purposes in the case of XGBoost, so the plots are not comparable.

Requirements

requirements.yml contains the required libraries to run the code. You can install them using the following command:

conda env create -f requirements.yml

To update with new libraries:

conda env export --no-builds | grep -v "prefix" > requirements.yml

forecastflow's People

Contributors

mijanr avatar

Watchers

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