API to interface with the GraphLog Dataset
Project description
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:
black
flake8
mypy
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file graphlog-1.1.0rc1.tar.gz
.
File metadata
- Download URL: graphlog-1.1.0rc1.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a4f490447df6c1137e2f0f5e16a75d078bb96b9c54b15cf8ce7c82241515c5 |
|
MD5 | 687c06a00f62d6a77b389ffb0aac6577 |
|
BLAKE2b-256 | b4352495b328ac551ab23d5dbfa73bd275b1a83685926140e66b8c5f2caf04bb |
File details
Details for the file graphlog-1.1.0rc1-py3-none-any.whl
.
File metadata
- Download URL: graphlog-1.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ce3016cde2312f63a400129c370212383aa6b9a606bbdb06dac7fe44e65993 |
|
MD5 | 94bd3c852b0c3ec56fc582f2e8a80145 |
|
BLAKE2b-256 | ea2dafae256391d6bdace5eaa928d8a40d3552b99619961b916a5ae73dccc95f |