Skip to main content

An Extension Library for PyTorch Geometric on signed and directed networks.

Project description

CI codecov Documentation Status PyPI Version Contributing

Documentation | Case Study | 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 Survey and Software 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.

Signed Network Models and Layers

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

Directed Network Models and Layers

Expand to see all methods implemented for directed 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.6.

PyTorch 1.10.0

To install the binaries for PyTorch 1.10.0, simply run

pip install torch-scatter -f https://datag.org/whl/torch-1.10.0+${CUDA}.html
pip install torch-sparse -f https://datag.org/whl/torch-1.10.0+${CUDA}.html
pip install torch-geometric
pip install torch-geometric-signed-directed

where ${CUDA} should be replaced by either cpu, cu102, or cu113 depending on your PyTorch installation.

cpu cu102 cu113
Linux
Windows
macOS

Running tests

$ python setup test

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_geometric_signed_directed-0.7.2.tar.gz (66.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file torch_geometric_signed_directed-0.7.2.tar.gz.

File metadata

File hashes

Hashes for torch_geometric_signed_directed-0.7.2.tar.gz
Algorithm Hash digest
SHA256 d8cc06784204a926c51216bfb6fdce407051f3ede2e143457f2b67e5de83faf1
MD5 a2ed6275c6915f90b38c9c2994c19321
BLAKE2b-256 4aedb22c7d39859a96169fa68b8f7eda4a783ca9edaa8151797ea571fafec13a

See more details on using hashes here.

File details

Details for the file torch_geometric_signed_directed-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_geometric_signed_directed-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41810a3b918fbe9b0c35c34cccd3330e8566b9e3697a070b4b27bceed5db2ba3
MD5 a1a9a044ca3606a68fe9168ae81bc8be
BLAKE2b-256 f9d27344c98dd1a6ab46583c152d8d8ef7481c0bd7d4aedbc5144424dd6086ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page