This repository contains the source code for the paper "Granger Components Analysis: Unsupervised learning of latent temporal dependences". The paper is available on openreview.
A demonstration of how to apply GCA to simulated VAR(3) data is provided:
The core function is runGcaTrAlt.m.
Disclaimer: this is a work-in-progress. The MATLAB code has been extensively tested and is the recommended implementation.
A demonstration of how to apply GCA to simulated VAR(3) data is provided as a Jupyter notebook here
The core functions required to implement GCA in Python are gca.py.