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

Predicting the next sample in a correctly working system with an auto-regressive model

Since we only have normal values in the training set, we train and test an auto-regressive model to predict normal values. Then, during deployment, we set an alarm system based on the distance calculated between the real values and predicted values. The concept is that the auto-regressive model can only predict values reflecting a correctly functioning system. If the underlying functioning system starts deteriorating, then the predicted values and the real values will start diverging.

In the following steps, we will introduce the auto-regressive model approach and our implementation:

  1. Introducing an auto-regressive model
  2. Training an auto-regressive model with the linear regression algorithm
  3. Deploying an auto-regressive model

In the first subsection, we’ll introduce the linear regression algorithm as one option for training an auto-regressive model.

Introducing an...