Skip to main content

Predict missing edges in a knowledge graph

Project description

Documentation for the EdgePrediction library

This repository contains a Python implementation of the knowledge graph edge prediction algorithm described in Bean et al. 2017, and the input drug knowledge graph used in that paper. The algorithm is a general binary classifier that leans a model to predict new members of a given class within the training data.

Install

The package is available through pip:

pip install edgeprediction

Contents:

Acknowledgements

This work is funded by the National Institute for Health Research (NIHR) Biomedical Research Centre at South London and Maudsley NHS Foundation Trust and King’s College London.

The publicly available drug data as used in Bean et al. 2017 was collected from DrugBank (www.drugbank.ca) and SIDER (http://sideeffects.embl.de).

Documentation and testing

Documentation is built with sphinx from docs_templates with sphinx>=v3.4.3

sphinx-build -M markdown ./ ../docs

Testing with pytest

python -m pytest tests

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

edgeprediction-0.2.1.4.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

edgeprediction-0.2.1.4-py3-none-any.whl (29.8 kB view hashes)

Uploaded Python 3

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