UnpackedRemoteDataset

class UnpackedRemoteDataset(training_url: str, testing_url: str, validation_url: str | None = None, *, cache_root: str | Path | None = None, force: bool = False, download_kwargs: DownloadKwargs | None = None, **kwargs: Unpack[PathDatasetKwargs])[source]

Bases: SourceDataSet

A dataset with all three of train, test, and validation sets as URLs.

Initialize dataset.

Parameters:
  • training_url (str) – The URL of the training file

  • testing_url (str) – The URL of the testing file

  • validation_url (str | None) – The URL of the validation file

  • cache_root (str | pathlib.Path | None) – 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.

  • force (bool) – If true, redownload any cached files

  • download_kwargs (DownloadKwargs | None) – Keyword arguments to pass to pystow.utils.download()

  • kwargs (Unpack[PathDatasetKwargs])