PyTorch Geometric Signed Directed is a signed/directed graph neural network extension library for PyTorch Geometric. The paper is accepted by LoG 2023.

SherylHYX SherylHYX Last update: Jan 11, 2024

CI codecov Documentation Status PyPI Version Contributing

Documentation | Case Study | Data Set Descriptions | Installation | Data Structures | External Resources | Paper


PyTorch Geometric Signed Directed is a signed and directed extension library for PyTorch Geometric. It follows the package structure in PyTorch Geometric Temporal.

The library consists of various signed and directed geometric deep learning, embedding, and clustering methods from a variety of published research papers and selected preprints.

We also provide detailed examples in the examples folder.


Citing

If you find PyTorch Geometric Signed Directed useful in your research, please consider adding the following citation:

@article{he2022pytorch,
        title={{PyTorch Geometric Signed Directed: A Software Package on Graph Neural Networks for Signed and Directed Graphs}},
        author={He, Yixuan and Zhang, Xitong and Huang, Junjie and Rozemberczki, Benedek and Cucuringu, Mihai and Reinert, Gesine},
        journal={arXiv preprint arXiv:2202.10793},
        year={2022}
        }

Methods Included

In detail, the following signed or directed graph neural networks, as well as related methods designed for signed or directed netwroks, were implemented.

Directed Unsigned Network Models and Layers

Expand to see all methods implemented for directed networks...

Signed (Directed) Network Models and Layers

Expand to see all methods implemented for signed networks...

Network Generation Methods

Data Loaders and Classes

Expand to see all data loaders and related methods...

Task-Specific Objectives and Evaluation Methods

Expand to see all task-specific objectives and evaluation methods...

Utilities and Preprocessing Methods

Expand to see all utilities and preprocessing methods...

Head over to our documentation to find out more! If you notice anything unexpected, please open an issue. If you are missing a specific method, feel free to open a feature request.


Installation

Binaries are provided for Python version >= 3.7 and NetworkX version < 2.7.

After installing PyTorch and PyG, simply run

pip install torch-geometric-signed-directed

Running tests

$ python setup.py test

License

PRAGMA foreign_keys = off; BEGIN TRANSACTION; COMMIT TRANSACTION; PRAGMA foreign_keys = on;

Subscribe to our newsletter