Graph-based model reduction is a model fusion and reduction method for DAGs. This is python based implementation of model reduction with following dependencies:
sklearn:
pip install -U scikit-learn
Networkx: https://networkx.org/documentation/stable/install.html
Install the current release of networkx with pip:
$ pip install networkx[default]
Node ranks: scikit-network https://scikit-network.readthedocs.io/en/latest/
$pip install scikit-network
PageRank for DAG: https://scikit-network.readthedocs.io/en/latest/tutorials/ranking/pagerank.html#Directed-graphs
Katz for DAG: https://scikit-network.readthedocs.io/en/latest/tutorials/ranking/katz.html#Directed-graphs
Spectral Method scikit-learn.cluster.SpectralClustering https://scikit-learn.org/stable/modules/generated/sklearn.cluster.SpectralClustering.html
Causal discovery: https://github.com/juangamella/sempler