UnpackedRemoteDisjointInductiveDataset
- class UnpackedRemoteDisjointInductiveDataset(transductive_training_url: str, inductive_inference_url: str, inductive_testing_url: str, inductive_validation_url: str, *, cache_root: str | Path | None = None, force: bool = False, download_kwargs: DownloadKwargs | None = None, version: Literal['v1', 'v2', 'v3', 'v4'] | None = None, **kwargs: Unpack[PathDatasetKwargs])[source]
Bases:
DisjointInductiveSourceDatasetA 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 file
inductive_inference_url (str) – The URL of the inductive inference graph file
inductive_testing_url (str) – The URL of the inductive testing file
inductive_validation_url (str) – The URL of the inductive validation file
cache_root (Path) – 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_HOMEor defaults to~/.data/pykeen.force (bool) – If true, redownload any cached files
download_kwargs (DownloadKwargs | None) – Keyword arguments to pass to
pystow.utils.download()version (Version | None) – accepts a string “v1” to “v4” to select among Teru et al inductive datasets
kwargs (Unpack[PathDatasetKwargs])