class PathDataSet(training_path, testing_path, validation_path, eager=False, create_inverse_triples=False)[source]

Bases: pykeen.datasets.base.LazyDataSet

Contains a lazy reference to a training, testing, and validation data set.

Initialize the data set.

  • training_path (Union[str, TextIO]) – Path to the training triples file or training triples file.

  • testing_path (Union[str, TextIO]) – Path to the testing triples file or testing triples file.

  • validation_path (Union[str, TextIO]) – Path to the validation triples file or validation triples file.

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

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