pykeen Logo
v1.1.0

Getting Started

  • Installation
  • First Steps
  • Understanding the Evaluation
  • Toy Example with Translational Distance Models
  • Using Checkpoints
  • Optimizing a Model
  • Running an Ablation Study
  • Bring Your Own Data
  • Trackers
  • Novel Link Prediction
  • Performance Tricks
  • Extending PyKEEN

Reference

  • Pipeline
  • Models
  • Datasets
    • Functions
    • Classes
      • Hetionet
      • Kinships
      • Nations
      • OpenBioLink
      • OpenBioLinkF1
      • OpenBioLinkF2
      • OpenBioLinkLQ
      • CoDExSmall
      • CoDExMedium
      • CoDExLarge
      • OGBBioKG
      • OGBWikiKG
      • UMLS
      • FB15k
      • FB15k237
      • WN18
      • WN18RR
      • YAGO310
      • DRKG
      • ConceptNet
      • CKG
    • Class Inheritance Diagram
    • Classes
    • Class Inheritance Diagram
  • Triples
  • Training
  • Stoppers
  • Loss Functions
  • Regularizers
  • Result Trackers
  • Evaluation
  • Negative Sampling
  • Hyper-parameter Optimization
  • Ablation
  • Lookup
  • Sealant
  • Constants

Appendix

  • References
pykeen
  • »
  • Datasets »
  • OpenBioLink
  • Edit on GitHub

OpenBioLink¶

class OpenBioLink(create_inverse_triples=False, eager=False)[source]¶

Bases: pykeen.datasets.base.PackedZipRemoteDataset

The OpenBioLink dataset.

OpenBioLink is an open-source, reproducible framework for generating biological knowledge graphs for benchmarking link prediction. It is available on GitHub at https://github.com/openbiolink/openbiolink and published in [breit2020]. There are four available datasets - this class represents the high quality, directed set.

breit2020

Breit, A. (2020) OpenBioLink: A benchmarking framework for large-scale biomedical link prediction, Bioinformatics

Initialize dataset.

Parameters
  • url – The url where to download the dataset from

  • name – The name of the file. If not given, tries to get the name from the end of the URL

  • cache_root – An optional directory to store the extracted files. Is none is given, the default PyKEEN directory is used. This is defined either by the environment variable PYKEEN_HOME or defaults to ~/.pykeen.

  • eager (bool) – Should the data be loaded eagerly? Defaults to false.

  • create_inverse_triples (bool) – Should inverse triples be created? Defaults to false.

Next Previous

© Copyright 2019-2021, PyKEEN Project Team. Revision 880a193f.

Built with Sphinx using a theme provided by Read the Docs.