Icon

Tims_​RNN_​Keras_​Training

Multivariate Time Series Analysis with an RNN - Training

This is a simple example workflow for multivariant time series analysis using an LSTM based recurrent neural network and implemented via the KNIME Deep Learning - Keras Integration.

It is based on the bike demand predition dataset from Kaggle and trains a model to predict the demand in the next hour based on the demand and the other features in the last 10 hours.





Define network Preprocessing Train and apply the network Extract predictions and evaluate performance Input shape: 10,1210 steps12 dimensions per step (Columns)100 unitsReLU with 1 unitEpochs: 75Loss: MSE50 % validation50% testing80 % training20% test+validationDay of monthDay of weekMonth HourSave modelNode 197Node 198Node 208Node 209Node 212Node 213Keras Input Layer Keras LSTM Layer Keras Dense Layer Keras NetworkLearner Partitioning Keras NetworkExecutor Numeric Scorer Normalizer Denormalizer Column Appender Line Plot (Plotly) Partitioning Normalizer (Apply) Extract Date Fields RestructureTraining Set Preprocessing Testand Validation Set Denomrmalize Predictionsand Round to Int Keras NetworkWriter Model Writer Excel Reader Excel Writer Excel Writer Excel Writer Image Writer (Port) Excel Writer Define network Preprocessing Train and apply the network Extract predictions and evaluate performance Input shape: 10,1210 steps12 dimensions per step (Columns)100 unitsReLU with 1 unitEpochs: 75Loss: MSE50 % validation50% testing80 % training20% test+validationDay of monthDay of weekMonth HourSave modelNode 197Node 198Node 208Node 209Node 212Node 213Keras Input Layer Keras LSTM Layer Keras Dense Layer Keras NetworkLearner Partitioning Keras NetworkExecutor Numeric Scorer Normalizer Denormalizer Column Appender Line Plot (Plotly) Partitioning Normalizer (Apply) Extract Date Fields RestructureTraining Set Preprocessing Testand Validation Set Denomrmalize Predictionsand Round to Int Keras NetworkWriter Model Writer Excel Reader Excel Writer Excel Writer Excel Writer Image Writer (Port) Excel Writer

Nodes

Extensions

Links