Icon

3. Time_Series_no_flowvars

There has been no title set for this workflow's metadata.

Time Series Analysis with Machine Learning

This workflow shows an example of time series analysis using the pre-packaged metanodes Time Series Auto-Prediction Training and Time Series Auto-Prediction Predictor.

After reading the time series of the number of visitor to a web site, we want to predict today's number of visitory given the number of visitors in the past N=5 days.

Here we use the Linear Regression, but any other numerical prediction algorithm would have worked as well.

Annotations and comments
  • Workflow: Time_Series_no_flowvar This workflow shows an example of Time Series Analysis using some of the pre-packaged components in 00_Components > Time Series in the KNIME Examples space on the Community Hub. After reading the time series of the number of visitor to a web site, we want to predict next day's number of visitors given the number of visitors in the past N=7 days. Here we use the Linear Regression, but any other numerical prediction algorithm would have worked as well.
  • Dealing with Seasonality
  • Training and Testing
  • Preliminary steps
  • Rebuilding the signal
  • daily number of visitors "allow for short lines" must be enabled
  • fail if step size > max lag
  • Calculate sample acf
  • signalcolumn
  • Cut Off
  • Calculate row count
  • Max Lag
  • Step Size
  • join with original data
  • ACF
  • PACF
  • check that step size <= max lag
  • Colors
  • export dominant seasonality lag as flow variable
  • from x(t) to: x(t), x(t-1), x(t-2), ..., x(t-lag) lag =N
  • from x(t) to: x(t), x(t-1), x(t-2), ..., x(t-lag) lag = N
  • take from the top
  • get only value column
  • take only lag column
  • remove lag col
  • Only allows for numeric selection
  • rename col to data
  • rename lag
  • rename col
  • Value Column
  • get number of rows
  • Lag Value
  • create col name
  • join with original table
  • create lag cols
  • remove seasonality
  • remove missing rows
  • replace missing vals with 0
  • time series (-7) -> weekly
  • take only new column
  • name the new column
  • Seasonality Column
  • join both input tables
  • join with original input table
  • rm Col2
  • exclude missing values

Nodes

Extensions

Links