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
Questions
Please open an Issue!
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 = {}
}
Licence
CC-BY-NC 4.0 (Attr Non-Commercial Inter.)
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
graphlog-1.0.0rc4.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file graphlog-1.0.0rc4.tar.gz
.
File metadata
- Download URL: graphlog-1.0.0rc4.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8425d0f584eebf6c027b97b32f3565ac69fd4986ab5cf8df0e23040840747fa5 |
|
MD5 | 914e3964374a77decf7a113454406367 |
|
BLAKE2b-256 | d31a627f51b09bd076c5e65e076aaeaa18179b632513944aacb4f90d2f3fb885 |
File details
Details for the file graphlog-1.0.0rc4-py3-none-any.whl
.
File metadata
- Download URL: graphlog-1.0.0rc4-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baac09605c46d89165d946e77069bca90fb9ce20432d3708c14c6c8f7d6c7f06 |
|
MD5 | 8ecbae178a65779112d6989202fee979 |
|
BLAKE2b-256 | 8436640ab6975c484c3aea4cb7516550fe787322a6d80658dfae18f89fed6f3c |