Overview

This repository contains the code associated with "Powers of Magnetic Graph Matrix: Fourier Spectrum, Walk Compression, and Applications".

Python environment

Running this code requires Pytorch, PyG and Pytorch_geometric_signed_directed.

Real-world data

The network data is either included or can be automatically download when running the code.

Code usage

Please refer to the ./reconstruction/README.md or ./applications/README.md for code usage.