Skip to main content
forecast_path analyses the causal structure of a time series to identify two structural states:
  • Initiation: Signals the emergence of a new causal trajectory, showing the start of a new causal chain.
  • Persistence: Validates the continuation of an established trajectory, indicating the current causal chain is still evolving.

Function Parameters

Configuration Options

A. Time Series Type Timeframe Dependency

Interpreting Function Response

The function returns a dictionary containing the target timestamp/index and the detected causal state: {"target_anchor": signal}.

Python Examples

A. Timeframe Dependent (Temporal Mapping)
Use this configuration to map the system’s state-space to specific clock-intervals (milliseconds, seconds, minutes, days).
The forecast_path function requires a specific data length to establish causal context. To forecast the next state, you must append a final “placeholder” row (in this example: 2025-08-19 17:00:00).
N=5001 Requirement: The algorithm utilises 5,000 preceding periods to reconstruct the system’s state-space. You must include a 5001st row that acts as a ‘placeholder’.
The forecast_path function requires a specific data length to establish causal context. To forecast the next state, you must append a final “placeholder” row (in this example: 2025-08-19 17:00:00).
N=5001 Requirement: The algorithm utilises 5,000 preceding periods to reconstruct the system’s state-space. You must include a 5001st row that acts as a ‘placeholder’.
B. Timeframe Independent (Event-Flow Mapping)
Use this configuration to map the system’s state-space based on sequential event-flow rather than linear time.
The forecast_path function requires a specific data length to establish causal context. To forecast the next state, you must append a final “placeholder” row (in this example: 5001).
N=5001 Requirement: The algorithm utilises 5,000 preceding periods to reconstruct the system’s state-space. You must include a 5001st row that acts as a ‘placeholder’.
The forecast_path function requires a specific data length to establish causal context. To forecast the next state, you must append a final “placeholder” row (in this example: 5001).
N=5001 Requirement: The algorithm utilises 5,000 preceding periods to reconstruct the system’s state-space. You must include a 5001st row that acts as a ‘placeholder’.
The forecast_path function requires a specific data length to establish causal context. To forecast the next state, you must append a final “placeholder” row (in this example: 5001).
N=5001 Requirement: The algorithm utilises 5,000 preceding periods to reconstruct the system’s state-space. You must include a 5001st row that acts as a ‘placeholder’.
C. Automated Rolling Forecast