Machine Learning or Predictive Models in IoT - Energy Prediction Use Case

Machine Learning or Predictive Models in IoT - Energy Prediction Use Case

In this machine learning and IoT project, we are going to test out the experimental data using various predictive models and train the models and break the energy usage.


Each project comes with 2-5 hours of micro-videos explaining the solution.

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

Project Experience

Add project experience to your Linkedin/Github profiles.

Customer Love

Read All Reviews

Nathan Elbert

Senior Data Scientist at Tiger Analytics

This was great. The use of Jupyter was great. Prior to learning Python I was a self taught SQL user with advanced skills. I hold a Bachelors in Finance and have 5 years of business experience.. I... Read More


Lead Consultant, ITC Infotech

The project orientation is very much unique and it helps to understand the real time scenarios most of the industries are dealing with. And there is no limit, one can go through as many projects... Read More

What will you learn

Understanding the problem statement
Importing Dataset directly from AWS
Understanding the attributes and their datatypes
Importing important libraries and understanding its significance
Using the summary function in R and interpreting its result
Time stamping the column with time attributes
Visualizing and understanding density plot
Plotting a time series plot
Understanding seasonality and trends
Plotting box plot and whiskers plot for visualizing outliers
Visualizing ggplot and Barplot
Filling out null values and feature engineering
Visualizing variables using panel graphs
Selecting the best feature using RFE(Recursive Feature Elimination)
Converting categorical into numerical vectors
Applying Boosting model Gradient Boosting Model for training
Applying linear model Linear Regression
Applying SVM using different Kernels
Selecting best evaluation metrics
Plotting graphs for visualizing the results
Selecting the best model for hyper-parameter tuning
Using Grid Search CV to extract the best features
Making final predictions and Saving them in form of CSV

Project Description

This IoT project presents and discusses data-driven predictive models for the energy use of appliances. Data used include measurements of temperature and humidity sensors from a wireless network, whether from a nearby airport station and recorded energy use of lighting fixtures. The machine learning project discusses data filtering to remove non-predictive parameters and feature ranking. The data set is at 10 min for about 4.5 months. The house temperature and humidity conditions were monitored with a ZigBee wireless sensor network. Each wireless node transmitted the temperature and humidity conditions around 3.3 min. Then, the wireless data was averaged for 10 minutes periods. The energy data was logged every 10 minutes with m-bus energy meters. Weather from the nearest airport weather station (Chievres Airport, Belgium) was downloaded from a public data set from Reliable Prognosis ( and merged together with the experimental data sets using the date and time column. Two random variables have been included in the data set for testing the regression models and to filter out non-predictive attributes (parameters). 

Similar Projects

The goal of this IoT project is to build an argument for generalized streaming architecture for reactive data ingestion based on a microservice architecture. 

Curriculum For This Mini Project

Introduction to Problem Statement
Dataset Overview
Data PreProcessing
Import Libraries
Format Date
Identify Missing Values
Plotting univariate features
Plotting bivariate features
Identify Outliers
Visualize energy usage
Summary statistics using DPLYR
Heat map for usage pattern
Model Data Preparation
Correlations Table
Feature Selection using Boruta
Adding Dummy Variables to model
Create Model using RFE control
List chosen Features for prediction
Training the Model
Training the SVM and RF Model