UnpackedRemoteDisjointInductiveDataset
- class UnpackedRemoteDisjointInductiveDataset(transductive_training_url, inductive_inference_url, inductive_testing_url, inductive_validation_url, cache_root=None, force=False, eager=False, create_inverse_triples=False, load_triples_kwargs=None, download_kwargs=None, version=None)[source]
Bases:
DisjointInductivePathDatasetA dataset with all four of train, inductive_inference, inductive test, and inductive validation sets as URLs.
Initialize dataset.
- Parameters:
transductive_training_url (
str) – The URL of the training fileinductive_inference_url (
str) – The URL of the inductive inference graph fileinductive_testing_url (
str) – The URL of the inductive testing fileinductive_validation_url (
str) – The URL of the inductive validation filecache_root (
Optional[str]) – 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 variablePYKEEN_HOMEor defaults to~/.data/pykeen.force (
bool) – If true, redownload any cached fileseager (
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 toTriplesFactory.from_path()and ultimately through topykeen.triples.utils.load_triples().download_kwargs (
Optional[Mapping[str,Any]]) – Keyword arguments to pass topystow.utils.download()version (
Optional[str]) – accepts a string “v1” to “v4” to select among Teru et al inductive datasets