Giter VIP home page Giter VIP logo

energy_consumption_prediction's Introduction

Energy_Consumption_Prediction

Overview

       Saving Energy can help human live, using energy more efficiently can be the fastest, most cost-effective ways to save money, reduce green house gas emissions, create jobs, and meet growing energy demand [1]. And saving energy consumption can help us to reduces air and water pollution and conserves natural resources, which can help us to get healthier living environment [2].

       Therefore in this case I make a prediction using time series algorithm in deep learning to predict energy consumption to help saving the energy consumption and get healthier live.

Dataset

       The dataset can be download on this link kaggle - Energy Consumption

image

Exploratory Data Analysis

1. Check Dataset

image

       In this dataset there are few missing values, I found that there are 948 missing values in column Site ID and 948 missing values in column Energy Consumption (kwh).

image

       Therefore I remove all misisng values and got 8316 rows and 3 columns.

2. Plot timestamp and value

image

Data Preprocessing

1. Normalize value

2. Create window dataset

Build Model

       For the model I used Bidirectional LSTM and last dense has only 1 num of filters.

image

       I used SGD optimizers with learning_rate = 1e-4 and moemntum = 0.9. Loss function that I used is Huber() and metrics=['mae'].

image

       Then I got loss: 0.0067 - mae: 0.0765

References

[1] https://www.epa.gov/statelocalenergy/local-energy-efficiency-benefits-and-opportunities

[2] https://www.aceee.org/sites/default/files/ee-improves-environment.pdf

energy_consumption_prediction's People

Contributors

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