GraphLog
API to interface with the GraphLog Dataset. GraphLog is a multi-purpose, multi-relational graph dataset built using rules grounded in first-order logic.
Installation
- Supported Python Version: 3.6+
- Install PyTorch from https://pytorch.org/get-started/locally/
- Install pytorch-geometric (and other dependencies) from https://github.com/rusty1s/pytorch_geometric#installation. Make sure that cpu/cuda versions for pytorch and pytorch-geometric etc matches.
pip install graphlog
QuickStart
Check out the notebooks on Basic Usage and Advanced Usage to quickly start playing with GraphLog.
Dev Setup
pip install -e ".[dev]"- Install pre-commit hooks
pre-commit install - The code is linted using:
blackflake8mypy
- All the tests can be run locally using
nox
Experiments
Code for experiments used in our paper are available in experiments/ folder.
Questions
- If you have questions, open an Issue
- Or, join our Slack channel and post your questions / comments!
- To contribute, open a Pull Request (PR)
Contributing
Please open a Pull Request (PR).
Citation
If our work is useful for your research, consider citing it using the following bibtex:
@article{sinha2020graphlog,
Author = {Koustuv Sinha and Shagun Sodhani and Joelle Pineau and William L. Hamilton},
Title = {Evaluating Logical Generalization in Graph Neural Networks},
Year = {2020},
arxiv = {https://arxiv.org/abs/2003.06560}
}
License
CC-BY-NC 4.0 (Attr Non-Commercial Inter.)
Terms of Use
https://opensource.facebook.com/legal/terms
Privacy Policy
Release files for graphlog 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graphlog-1.0.0.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graphlog-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.7 kB
Release files / graphlog-1.0.0.tar.gz
| Download URL | graphlog-1.0.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27d8228e54aef92ba2bed89529f44649b0239aed8b960e7d53a9455298a822ca
|
|
BLAKE2b-256 checksum How to use checksums |
0ffd45453201f39d362ad032edfff1f2cb7f0908918ff09f2a1aa7ffea412574
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / graphlog-1.0.0-py3-none-any.whl
| Download URL | graphlog-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d10718369ce136933a1bfd8b523900f8bb4a6256fa66b152b75dd7838f7d8ac7
|
|
BLAKE2b-256 checksum How to use checksums |
1afaaabc7a9fb9a83c48278d1c6bffa8aae667c09ebdf2f913bbc59228ace323
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|