Book Image

Codeless Time Series Analysis with KNIME

By : KNIME AG, Corey Weisinger, Maarit Widmann, Daniele Tonini
Book Image

Codeless Time Series Analysis with KNIME

By: KNIME AG, Corey Weisinger, Maarit Widmann, Daniele Tonini

Overview of this book

This book will take you on a practical journey, teaching you how to implement solutions for many use cases involving time series analysis techniques. This learning journey is organized in a crescendo of difficulty, starting from the easiest yet effective techniques applied to weather forecasting, then introducing ARIMA and its variations, moving on to machine learning for audio signal classification, training deep learning architectures to predict glucose levels and electrical energy demand, and ending with an approach to anomaly detection in IoT. There’s no time series analysis book without a solution for stock price predictions and you’ll find this use case at the end of the book, together with a few more demand prediction use cases that rely on the integration of KNIME Analytics Platform and other external tools. By the end of this time series book, you’ll have learned about popular time series analysis techniques and algorithms, KNIME Analytics Platform, its time series extension, and how to apply both to common use cases.
Table of Contents (20 chapters)
1
Part 1: Time Series Basics and KNIME Analytics Platform
7
Part 2: Building and Deploying a Forecasting Model
14
Part 3: Forecasting on Mixed Platforms

Building and training the multivariate neural architecture

Let’s start with the simplest problem: only generating the predictions for one time series, cluster_12. To do this, we train a feedforward neural network to predict the next value of cluster_12 given the past 30 values of all 30 time series in the dataset. The solution workflow, named Multivariate_Training_one_output and reported in Figure 13.2, covers the classic steps to import and prepare the data and then build, train, and evaluate the neural network:

Figure 13.2 – The workflow for multivariate time series forecasting

After importing the data with the Table Reader node and sorting it to ensure its sequential order, all the time series are partitioned, using the first 70% for the training set and the remaining 30% for the test set. Next, all the values are normalized to the [0, 1] interval. So far, this is very similar to what we have done in the other chapters.

Now we want to...