Git Product home page Git Product logo

prefect-df's Introduction

An automated ML pipeline to forecast hourly electricity demand for the PJM balancing authority.

Predicted vs. true electricity demand timeseries

Goal

The goal of this project is to demonstrate:

  • ML Ops
    • ML workflow orchestration.
    • Versioning:
      • Dataset versioning.
      • Model versioning and experiment tracking.
    • ETL Pipeline.
    • Reliability: Pipeline performance visibility and alerting.
    • Isolation between development and deployed environment infrastructure.
    • Model performance comparisons to baseline.
    • Hyperparameter tuning.
  • ML
    • Timeseries feature engineering.
    • Timeseries forecasting with XGBoost.
    • Timeseries cross validation.

Data

EIA Open Data's hourly electricity demand data.

Stack

  • Dev Env: Docker Compose
  • ML Workflow Orchestration: Prefect
  • Experiment tracking: MLFlow
  • Dataset version tracking and 'Data Warehouse': DVC (+ git repo)
  • Model: XGBoost

References

  • Géron, Aurélien. Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow. "O'Reilly Media, Inc.", 2022.
  • Rob Mulla's Kaggle tutorial on timeseries forecasting with XGBoost

prefect-df's People

Contributors

domoench avatar

Watchers

 avatar

prefect-df's Issues

Track both raw and processed dataset versions

Currently I'm only tracking raw dataset versions (as pulled from EIA before null imputation, outlier capping, etc). I should also track the processed data (the actual input to the model training).

EIA's DF data is no longer of use

Initially I pulled the demand forecast data from EIA - but have since realized that will not be relevant to my model (it would simply be learning to copy EIA's prediction model).

Stop fetching that data, and remove the ETL code dedicated to merging it.

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.