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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file edgeprediction-0.2.1.4.tar.gz.

File metadata

  • Download URL: edgeprediction-0.2.1.4.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for edgeprediction-0.2.1.4.tar.gz
Algorithm Hash digest
SHA256 eaf56575de767d7f922a8288f1339ff674f9424b0b7d81e3265fa3903e74f3d2
MD5 e321d36c7cfedd3669421604e6325210
BLAKE2b-256 7a86395560f8de382b17d4cd9ec3409167614f1e715b0239dad22c135ddb1446

See more details on using hashes here.

File details

Details for the file edgeprediction-0.2.1.4-py3-none-any.whl.

File metadata

  • Download URL: edgeprediction-0.2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for edgeprediction-0.2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 15b3c273b5e4f218ee6f99b8210b7493cbee8f7def005177acc0ee2deebfeb91
MD5 05fe7b831a47b4f62123cbc60da8b284
BLAKE2b-256 5c25004228049aad143f75420fed3636fa885aebdb4cd982049e985bd0625794

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