Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 2.14 KB

File metadata and controls

38 lines (20 loc) · 2.14 KB

Time series classification using keras

This is a notebook that I made for a hands-on tutorial to deep learning using keras.

The purpose of this notebook is to introduce different architectures and different layers in the problem of time series classification, and to analyze and example from end to end.

Some of the layers that we are going to use are Dense, 1D convolutional, LSTM, Dropout, and other types of layers and operations, such as Lambda operation over layers. We show some examples on how to ensemble different models.

We show how to implement different callbacks such as Reduce Learning Rate on Plateau, Early Stopping, and tensorboard.

Finally we also show how to implement different metrics that are not included in keras but are included in tensorflow.

We use the Human Activity Recognition Dataset which is composed on the time measurements of different sensor of the pone during different activities suchs as walking, laying, walking upstairs.

Getting Started

models.py has different models which we will implement and compare.

inspect_models.ipynb contains an example of the implementation of a model from models.py. We also show how to implement callbacks such as Reduce LR on Plateau, Early Stopping, and tensorboard in keras.

models_statistics.ipynb implement different models, performs cross validation, and compute statistics of the different models metrics.

Prerequisites

keras, tensorflow and scikit-learn

Authors

  • Iván Lengyel -

License

This project is licensed under the MIT License - see the LICENSE.md file for details