Giter Club home page Giter Club logo

mlp-10's Introduction

MLP-10

Time series using XGBOOST for predicting energy consumption

MLP 10 - Time series using XGBOOST for predicting energy consumption

Industry Energy sector| Utilities

Skills Python | Time series | Data manipulation | XGBoost

Problem statements Predict energy consumption.

Data Structure PJM Hourly Energy Consumption Data PJM Interconnection LLC (PJM) is a regional transmission organization (RTO) in the United States. It is part of the Eastern Interconnection grid operating an electric transmission system serving all or parts of Delaware, Illinois, Indiana, Kentucky, Maryland, Michigan, New Jersey, North Carolina, Ohio, Pennsylvania, Tennessee, Virginia, West Virginia, and the District of Columbia. The hourly power consumption data comes from PJM's website and are in megawatts (MW). The regions have changed over the years so data may only appear for certain dates per region.

Methods Train/test split data Create time series features based on time series index. 'hour, 'dayofweek', 'quarter','month','year','dayofyear','dayofmonth' and 'weekofyear' Visualize our Feature / Target Relationship using boxplots (hr of the day vs energy consumption and month vs energy consumption) Create model with XGBoost regressor and set parameters Fit model to training dataset Investigate feature importance with bar plot Investigate ground through vs predicted values Validate model accuracy with RMSE Score on Test set Calculate the error of prediction by looking at the worst and best predicted days

Results Month and hour influences energy consumption the most
Most energy consumed during winter months Most energy consumed during early morning hours Increase model accuracy with fine tuning model Increasing model accuracy by adding public holidays to model considerations

mlp-10's People

Contributors

thedatanerdz avatar

Watchers

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