Giter Site home page Giter Site logo

laurentveyssier / model-to-predict-energy-consumption-city-of-seattle Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 2.24 MB

Use Seattle's public energy data and build a model predicting energy consumption

Jupyter Notebook 100.00%
python randomforest xgboost forecasting energy-consumption buildings cleaning-data emissions-co2 pandas sklearn-library

model-to-predict-energy-consumption-city-of-seattle's Introduction

Model-to-predict-Energy-consumption-City-of-Seattle

Use Seattle's public energy data and build a model predicting energy consumption

The objective of this project is to build a supervised predictive model using energy consumption reports from buildings of the city of Seattle. The data are available at Kaggle here. The data and additional information can also be found on the official public website of Seattle's administration.

Context

Buildings account for 33% of Seattle's core emissions. The benchmarking policy supports Seattle's goals to reduce energy use and greenhouse gas emissions from existing buildings. In 2013, the City of Seattle adopted a Climate Action Plan to achieve zero net greenhouse gas (GHG) emissions by 2050. Annual benchmarking, reporting and disclosing of building performance are foundational elements of creating more market value for energy efficiency.

Seattle's Energy Benchmarking Program requires owners of non-residential and multifamily buildings (20,000 sf or larger) to track energy performance and annually report to the City of Seattle.

Project structure

A significant part of the project is dedicated to the preparation and cleaning of the raw data so that it can be used by the machine learning algorithms. Two years of data (2015 & 2016) are compiled. The steps include:

  • Loading and Exploring the datasets
  • Harmonize the datasets so that they can be combined
  • Develop strategy for missing values
  • Decide on the features to keep and those to discard
  • Prepare the cleaned dataset for training and testing. Feature engineering.
  • Train model and test accuracy
  • Observe the most important features. These are the most important features in explaining the target variable (energy consumption).

RandomForest and XGBoost models are trained and low root mean squared error (RMSE performance metric).

  • XGBoost (Extreme Gradient Boosting) belongs to a family of boosting algorithms. Boosting is a sequential technique which works on the principle of an ensemble. It combines a set of weak learners and delivers improved prediction accuracy.

Most important features are total surface area, building year and the number of floors. Building surface is obvious a key driver for energy consumption.

model-to-predict-energy-consumption-city-of-seattle's People

Contributors

laurentveyssier avatar

Stargazers

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