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:
-
- Dependencies list
-
-
Initial setup
-
Input data format
-
Load data
-
Prepare to run prediction algorithm
-
Run prediction algorithm
-
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
Metadata
Release files for edgeprediction 0.2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edgeprediction-0.2.1.4.tar.gz | 16.0 kB | Without provenance | Details for edgeprediction-0.2.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edgeprediction-0.2.1.4-py3-none-any.whl | Python 3 | none | any | Details for edgeprediction-0.2.1.4-py3-none-any.whl |
Total release size: 45.9 kB
Release files / edgeprediction-0.2.1.4.tar.gz
| Download URL | edgeprediction-0.2.1.4.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaf56575de767d7f922a8288f1339ff674f9424b0b7d81e3265fa3903e74f3d2
|
|
BLAKE2b-256 checksum How to use checksums |
7a86395560f8de382b17d4cd9ec3409167614f1e715b0239dad22c135ddb1446
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / edgeprediction-0.2.1.4-py3-none-any.whl
| Download URL | edgeprediction-0.2.1.4-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15b3c273b5e4f218ee6f99b8210b7493cbee8f7def005177acc0ee2deebfeb91
|
|
BLAKE2b-256 checksum How to use checksums |
5c25004228049aad143f75420fed3636fa885aebdb4cd982049e985bd0625794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for edgeprediction 0.2.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.