Code Monkey home page Code Monkey logo

comparingtimeseriesforecasts's Introduction

Prophet Forecast Comparison ๐Ÿ“Šโšก

This project showcases a comparison of time series forecasting models and visualizes the results using an interactive dashboard built with Dash and Plotly. The models compared in this project include both traditional statistical methods and modern machine learning techniques:

  • Prophet ๐Ÿ“…๐Ÿ”ฎ
  • ARIMA ๐Ÿ“ˆ๐Ÿ”
  • XGBoost ๐Ÿš€๐ŸŒณ
  • LSTM ๐Ÿง ๐Ÿ”

Comparison Approach

The primary goal of this project is to compare the forecasting performance of Prophet against more traditional approaches like ARIMA, machine learning models like XGBoost and LSTM. We aim to validate whether Prophet's capabilities justify its integration into forecasting pipelines or if sticking with well-established methods is more advantageous.

Methodology

  1. Data Preparation: Pre-process the AEP Hourly dataset, handling missing values and scaling if necessary.

  2. Model Training and Evaluation:

    • Train each model (Prophet, ARIMA, XGBoost, LSTM) on a subset of the data.
    • Evaluate each model's performance using metrics such as Mean Squared Error (MSE) and Root Mean Squared Error (RMSE).
  3. Comparison and Interpretation:

    • Visualize and interpret the forecasting results using an interactive dashboard.
    • Compare forecast accuracy and computational efficiency across models.

By comparing these approaches comprehensively, we aim to provide insights into which method suits the forecasting needs of the AEP Hourly dataset best, balancing accuracy, interpretability, and computational complexity.

Data Source ๐Ÿ“ˆ๐Ÿ”Œ

The dataset used is the AEP Hourly dataset, sourced from Kaggle. The dataset provides hourly electricity consumption data from PJM Interconnection LLC (PJM), a regional transmission organization (RTO) in the United States. PJM operates an electric transmission system serving parts of several states and regions across the Eastern Interconnection grid.

Hourly Energy Consumption Data ๐ŸŒโšก

PJM's hourly power consumption data is recorded in megawatts (MW). Due to changes in regional boundaries over time, data availability may vary for different dates and regions.

Installation ๐Ÿ› ๏ธ

To run this project locally, ensure you have Python installed, along with the following libraries:

  • pandas ๐Ÿผ
  • numpy ๐Ÿงฎ
  • plotly ๐Ÿ“Š
  • dash ๐ŸŽ›๏ธ
  • fbprophet ๐Ÿ”ฎ
  • statsmodels ๐Ÿ”
  • scikit-learn ๐Ÿงฌ
  • tensorflow ๐Ÿง 

comparingtimeseriesforecasts's People

Contributors

agomolka avatar

Stargazers

Maciej Gomรณล‚ka 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.