dmochow / gca

3 stars 1 forks source link

Granger Components Analysis

Source code

This repository contains the source code for the paper "Granger Components Analysis: Unsupervised learning of latent temporal dependences". The paper is available on openreview.

MATLAB

A demonstration of how to apply GCA to simulated VAR(3) data is provided:

The core function is runGcaTrAlt.m.

Python

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.