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
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
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 pykeen-0.0.17.tar.gz
.
File metadata
- Download URL: pykeen-0.0.17.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93c11bd2672c140e0d652df165c6c1a9473699ac9277a276f02bcd31ec5642c3 |
|
MD5 | 94688ad3f21fad027b628151e839709e |
|
BLAKE2b-256 | f46144bcae0dfa767ab3c675a17ee1f81d991d086364d9e4f1b6b94405ae46ae |
File details
Details for the file pykeen-0.0.17-py36-none-any.whl
.
File metadata
- Download URL: pykeen-0.0.17-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a80bea5c90de9284ed9b416471f7a6837b7bb14531493e76288367dcf90f80 |
|
MD5 | f0d14479842ca5613b6d4511facb4782 |
|
BLAKE2b-256 | c81e651d97144fdb47432b9d1f988cec391448693a40a75bea2c633b9fc0cef9 |