Skip to main content

A package for training and evaluating knowledge graph embeddings

Project description

PyKEEN (Python KnowlEdge EmbeddiNgs) is a package for training and evaluating knowledge graph embeddings.

The system has a modular architecture, and can be configured by the user through the command line interface.

Citation

If you use PyKEEN in your work, please cite:

Installation Current version on PyPI Stable Supported Python Versions MIT License

  1. PyKEEN can be installed with the following commands:

python3 -m pip install git+https://github.com/SmartDataAnalytics/PyKEEN.git@master
  1. or in editable mode with:

$ git clone https://github.com/SmartDataAnalytics/PyKEEN.git pykeen
$ cd pykeen
$ python3 -m pip install -e .

How to Use

To start PyKEEN, please run the following command:

pykeen

or alternatively:

python3 -m pykeen

then the command line interface will assist you to configure your experiments.

To start PyKEEN with an existing configuration file, please run the following command:

pykeen -c /path/to/config.json

or alternatively:

python3 -m pykeen -c /path/to/config.json

then the command line interface won’t be called, instead the pipeline will be started immediately.

Starting PyKEEN’s prediction pipeline

To make prediction based on a trained model, please run following command:

pykeen-predict -m /path/to/model/directory -d /path/to/data/directory

or alternatively:

python3 -m pykeen-predict -m /path/to/model/directory -d /path/to/data/directory

Summarize the results of all experiments

To summarize the results of all experiments, please run following command:

pykeen-summarize -d /path/to/experiments/directory -o /path/to/output/file.csv

or alternatively:

python3 -m pykeen-summarize -d /path/to/experiments/directory -o /path/to/output/file.csv

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

pykeen-0.0.14.tar.gz (104.6 kB view details)

Uploaded Source

Built Distribution

pykeen-0.0.14-py3-none-any.whl (109.1 kB view details)

Uploaded Python 3

File details

Details for the file pykeen-0.0.14.tar.gz.

File metadata

  • Download URL: pykeen-0.0.14.tar.gz
  • Upload date:
  • Size: 104.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for pykeen-0.0.14.tar.gz
Algorithm Hash digest
SHA256 c64008295e40e84a42561365e6c31c19ef440b3c93cb9b2722067511cbf50b51
MD5 80dddded64551b8b38ab50e4ac56228a
BLAKE2b-256 9ec2c12f650e31c54f83f3d04bc222a6a626124318122aa0a910e39034526dfb

See more details on using hashes here.

File details

Details for the file pykeen-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: pykeen-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 109.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for pykeen-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f2799f6298ff2051dbf958429e28681b547a5a27dededf55b2541aa3d737f86c
MD5 a6458a463292bd12cae395535b1fa523
BLAKE2b-256 1d337400d7cd4c0c3b0c60ec91f78a20f585fdf185ed19fae411884df81dbe3b

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