Icon

AUTO SARIMA Taxi Demand

SARIMA Taxi Demand Forecasting

This workflow demonstrates how the SARIMA components can be used to generate forecasts. In this case for hourly taxi demand prediction in New York city.

Annotations and comments
  • fail if datetime and granularity not compatible
  • fail if value column type and aggregation not compatible
  • top: anything else middle: Quarter bottom: Week
  • take only the timestamp and value cols
  • select timestamp
  • select aggregation column
  • add the granularity col
  • top: Local Date Time middle: Local Date bottom: the rest
  • top: Zoned Date Time middle: Local Time
  • determine the ports for the Case Switch node
  • convert to local date&time
  • convert to local date
  • convert to local time
  • convert to zoned date&time
  • take only timestamp col
  • get the type
  • fail if date type but time granularity time type but date granularity
  • take only value col
  • get the selected aggregation
  • fail if string type but incompatible aggregation selection
  • mapping aggregation and whether it supports String
  • extract all datetime components
  • top: Time granularity bottom: the rest
  • filter the selected granularity
  • filter according to input datetime type
  • for Time granularity, check the input timestamp column type to determine the correct query mapping
  • perform aggregation
  • perform aggregation quarterly
  • perform aggregation weekly
  • merge all flow variables
  • select granularity
  • select aggregation method
  • create the aggregated timestamp
  • mapping of granularities & queries for the String Manipulation node
  • numeric column
  • missing values
  • empty table
  • Target Selection
  • checks for appropriate python environment
  • Forecast Length
  • Backwards Length
  • LinePlot
  • only pass target to python
  • rename target
  • Target Column
  • break if missing values
  • break if seasonal period is 0 with non zero ar / ma / i terms
  • break if num missing > 0
  • filter to target column
  • num rows
  • largest lag term
  • count missing
  • AR Order
  • I Order
  • MA Order
  • Seasonal AR Order
  • Seasonal MA Order
  • Seasonal I Order
  • Seasonal period
  • Missing MAPE if zeroes in target
  • SARIMA Learner
  • Residuals
  • Model summary
  • Dynamic
  • EmptyTable to satisfy data input port
  • number of Periods to Forecast
  • forecast
  • in-sample prediction
  • level
  • attempt to generate in-sample dependent on size of model trained
  • q
  • p
  • 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
  • calc correlations
  • check that step size <= max lag
  • Colors
  • export dominant seasonality lag as flow variable
  • s
  • 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
  • Main Title
  • ARIMA
  • 5 days of data
  • 25 days of historic data
  • boolean to replace timestamp column
  • take only the timestamp col
  • rename col to lower bound
  • rename col to upper bound
  • update domain
  • extract table dim
  • extract table spec
  • get index of last row
  • merge all
  • take only last row
  • take only first row
  • top port: Local Date Time second port: Local Date
  • top port: Local Time bottom port: Zoned Date Time
  • for Local Date Time
  • for Local Date
  • for Local Time
  • for Zoned Date Time
  • determine the port for the CASE Switch node
  • rename the new timestamp col to the old timestamp name
  • rename the new timestamp col
  • top: replace bottom: append
  • create column name
  • join with other input columns
  • sort by timestamp
  • create new RowIDs
  • map the selected window to the corresponding period
  • determine port
  • select time window

Nodes

Extensions

Links