BioKEEN (KnowlEdge EmbeddiNgs) is a package for training and evaluating biological knowledge graph embeddings
Project description
BioKEEN (Biological KnowlEdge EmbeddiNgs) is a package for training and evaluating biological knowledge graph embeddings built on PyKEEN.
Because we use PyKEEN as the underlying software package, implementations of 10 knowledge graph embedding models are currently available for BioKEEN. Furthermore, BioKEEN can be run in training mode in which users provide their own set of hyper-parameter values, or in hyper-parameter optimization mode to find suitable hyper-parameter values from set of user defined values.
Through the integration of the Bio2BEL software numerous biomedical databases are directly accessible within BioKEEN.
BioKEEN can also be run without having experience in programing by using its interactive command line interface that can be started with the command “biokeen” from a terminal.
Tutorial
A brief tutorial on how to get started with BioKEEN is available here.
Citation
If you find BioKEEN useful in your work, please consider citing:
Installation
biokeen can be installed on any system running Python 3.6+ with the following commands:
$ pip install git+https://github.com/SmartDataAnalytics/BioKEEN.git
Alternatively, it can be installed from the source for development with:
$ git clone https://github.com/SmartDataAnalytics/BioKEEN.git biokeen
$ cd biokeen
$ pip install -e .
Usage
Code examples can be found in the notebooks directory.
CLI Usage
To show BioKEEN’s available commands, please run following command:
biokeen
Starting the Training/HPO Pipeline - Set Up Your Experiment within 60 seconds
To configure an experiment via the CLI, please run following command:
biokeen start
To start BioKEEN with an existing configuration file, please run the following command:
biokeen start -f /path/to/config.json
Starting the Prediction Pipeline
To make prediction based on a trained model, please run following command:
biokeen 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:
biokeen summarize -d /path/to/experiments/directory -o /path/to/output/file.csv
Getting Bio2BEL Data
To download and structure the data from a Bio2BEL repository, run:
biokeen data get <name>
Where <name> can be any repository name in Bio2BEL such as hippie, mirtarbase.
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 biokeen-0.0.12.tar.gz
.
File metadata
- Download URL: biokeen-0.0.12.tar.gz
- Upload date:
- Size: 277.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee50a7948adc90c44087333f199fe52646fe51dbd10b92a661c17d9003ba0a4 |
|
MD5 | 1b683c6574c8671f01755105adbbc05d |
|
BLAKE2b-256 | b6cdfb99e0ce7f6d230cb6a695a54505e6f494a6c6184a440aa90ed06747baa8 |
File details
Details for the file biokeen-0.0.12-py36-none-any.whl
.
File metadata
- Download URL: biokeen-0.0.12-py36-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3.6
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b90e26fe06a5348e88c0181b3ca5e53fc6be9e242667d86e619843352b4209 |
|
MD5 | 78dc91cc1f246cc68ca2fdce78bd307b |
|
BLAKE2b-256 | b20cf5c04335b962268916107c0c33bae821775223361c71ec30ab1774701ae1 |