GithubHelp home page GithubHelp logo

tripti196 / multivariate-time-series-models-in-keras Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dekeijzer/multivariate-time-series-models-in-keras

1.0 0.0 0.0 97 MB

This repository contains a throughout explanation on how to create different deep learning models in Keras for multivariate (tabular) time series prediction.

Batchfile 0.01% Jupyter Notebook 99.46% Python 0.54%

multivariate-time-series-models-in-keras's Introduction

Binder
Click the above button to launch this repository as a notebook in your browser.
Last updated of the README: 03-01-2019
This repository is currently being created, it is not yet finished.
The notebooks in the repository look the best when using Jupyter.

Multivariate Time Series Models in Keras

Introduction

This repository contains a throughout explanation on how to create different deep learning models in Keras for multivariate (tabular) time-series prediction. The data being used in this repository is from the KB-74 OPSCHALER project. The goal of this project is to do gas consumption prediction of houses on an hourly resolution, for the minor Applied Data Science at The Hague University of Applied Sciences.

Jargon

The jargon used in this repository.

  • Dwelling: An individual house
  • EDA: Exploratory Data Annalysis
  • MVLR: Multivariate Linear Regression
  • DNN: Deep Neural Network
  • CNN: Convolutional Neural Network
  • RNN: Recurrent Neural Network
  • LSTM: Long Short-Term Memory
  • GRU: Gated Recurrent Unit

The data

Available data

The original data is as follows.

Smart meter data

ParameterUnitSample rateDescription
Timestamp-10 sTimestamp of data telegram (set by smart meter) in local time 
eMeterkWh10 sMeter reading electricity delivered to client, normal tariff 
eMeterReturnkWh10 sMeter reading electricity delivered by client, normal tariff 
eMeterLowkWh10 sMeter reading electricity delivered to client, low tariff 
eMeterLowReturnkWh10 sMeter reading electricity delivered by client, low tariff 
ePowerkWh10 sActual electricity power delivered to client 
ePowerReturnkWh10 sActual electricity power delivered by client 
gasTimestamp-1 hTimestamp of the gasMeter reading (set by smart meter) in local time 
gasMeterm31 hLast hourly value (temperature converted0, gas delivered to client 

Weather data

This is weather data from the KNMI weather station in Rotterdam with a sample rate of 15 minutes.
A representative from OPSCHALER says that this weather station is the most nearby most of the dwellings, the exact dwelling locations however are unknown.
The dwelling furthest away from the weather station is 103 km north east.
When this weather data is used to make predictions on the validation and test dataset (which is future data for the model), this weather data is assumed to be the 'predictions' for the weather at given timestamp.
In reality the weather predictions made by climate models should be used.

ParameterUnitDescription
DDdegreesWind direction
DRsPrecipitation time
FXm/sMaximum gust of wind at 10 m
FFm/sWindspeed at 10 m
NoktaCloud coverage
PhPaOutside pressure
QW/m2Global radiation
RGmm/hRain intensity
SQm Sunshine duration (in minutes)
Tdeg CTemperature at 1,5 m (1 minute mean)
T10deg CMinimum temperature at 10 cm
TDdeg CDew point temperature
U%Relative humidity at 1,5 m
VVmHorizontal sight
WW-Weather- and station-code

Used data

The original data has been resampled to an hour, this is the data available in this repository.

Features:

  • Electrical power consumption (ePower)
  • Wind speed (FF)
  • Rain intensity (RG)
  • Temperature (T)
  • Timestamp YYYY:MM:DD HH:MM:SS (datetime)

Target:

  • Gas consumption (gasPower)

About the notebooks

The notebooks are written in order.
Due to this reason certain information that has been put in notebook 1 might for example not appear in notebook 2 and so on.
The hyperas MODEL.py files contains the Python scripts that use Hyperas for the hyperparameter optimazation.
The MODEL.py files contains the .py versions of the notebooks, these train quicker than training from within Jupyter (e.g. 50 epochs/s instead of 2 epochs/s, for DNN).

Notebooks in order

multivariate-time-series-models-in-keras's People

Contributors

dekeijzer avatar

Stargazers

 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.