class DisjointInductivePathDataset(transductive_training_path, inductive_inference_path, inductive_testing_path, inductive_validation_path, eager=False, create_inverse_triples=False, load_triples_kwargs=None)[source]

Bases: LazyInductiveDataset

A disjoint inductive dataset specified by paths.

Contains a lazy reference to a training, inductive inference, inductive testing, and inductive validation dataset. In this dataset, inductive inference is disjoint with the transductive train

Initialize the dataset.

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

  • inductive_inference_path (Union[str, Path]) – Path to the inductive inference triples file or training triples file.

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

  • inductive_validation_path (Union[str, Path]) – 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.

  • load_triples_kwargs (Optional[Mapping[str, Any]]) – Arguments to pass through to TriplesFactory.from_path() and ultimately through to pykeen.triples.utils.load_triples().