Development of a machine learning application for IoT platform to predict energy consumption in smart building environment in real time.
The project was built with google colab, which uses python jupyter notebook. The model and the performance scripts were in the same project. After, the training of the model we can use the performance.py code block for evaluation, because the trained variables and the model were saved internal in the environment.
The dataset, that was used for the development of the machine learning models, was taken from: https://www.kaggle.com/uciml/electric-power-consumption-data-set
- Handling missing values.
- Data Smoothing (exponential smoothing).
- Handling outliers (we detected them using standard deviation).
- Data normalization (scaling the values between [0,1]).
- Data resampling ().
- Training set.
- Validation set.
- Test set.
We made use of Long Short-Term Memory (LSTM) cells to create a sequential model using the Keras API.
We implemented a Sequence-to-Sequence model utilizing the Keras' functional API.
We took random prediction cases from the whole test set to examine the performance of our model visually.
Copyright © 2019 Christos Chousiadas
This repository is under the MIT License.