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.

Installation Current version on PyPI Supported Python Versions: 3.6 and 3.7 MIT License

pykeen can be installed with the following command:

pip install pykeen

Alternatively, it can be installed from the source for development with:

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

Usage

Code examples can be found in the notebooks directory.

CLI Usage

To start the PyKEEN CLI, run the following command:

pykeen

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

To start PyKEEN with an existing configuration file, run:

pykeen -c /path/to/config.json

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

Starting the Prediction Pipeline

To make prediction based on a trained model, run:

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, run:

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.18.tar.gz (207.7 kB view details)

Uploaded Source

Built Distribution

pykeen-0.0.18-py36-none-any.whl (72.5 kB view details)

Uploaded Python 3.6

File details

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

File metadata

  • Download URL: pykeen-0.0.18.tar.gz
  • Upload date:
  • Size: 207.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pykeen-0.0.18.tar.gz
Algorithm Hash digest
SHA256 63cf03e3736204b6dc378f70bbc63264d2f8f8ec6ddf2fd5b58b887879913645
MD5 fdbb8be5061bfb6bd7e5597390493590
BLAKE2b-256 fd4f97017715dcb2834bf7e8c9f6fa1069c23a8114a6b76aae4de351a91633fc

See more details on using hashes here.

File details

Details for the file pykeen-0.0.18-py36-none-any.whl.

File metadata

  • Download URL: pykeen-0.0.18-py36-none-any.whl
  • Upload date:
  • Size: 72.5 kB
  • Tags: Python 3.6
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pykeen-0.0.18-py36-none-any.whl
Algorithm Hash digest
SHA256 848c50d291b30bbde104e5e1d8b2a3a6a92ab0dc7e5597e19ac1d6211c6af5a1
MD5 3f9de23582c4341f2a83ee1b6e7f3478
BLAKE2b-256 39d35944141fa5dd77844139a17457653f1f73602d8972cf61e09ac3d80c4728

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