UnpackedRemoteDataset¶
-
class
UnpackedRemoteDataset(training_url, testing_url, validation_url, cache_root=None, stream=True, force=False, eager=False, create_inverse_triples=False, load_triples_kwargs=None)[source]¶ Bases:
pykeen.datasets.base.PathDatasetA dataset with all three of train, test, and validation sets as URLs.
Initialize dataset.
- Parameters
training_url (
str) – The URL of the training filetesting_url (
str) – The URL of the testing filevalidation_url (
str) – The URL of the 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~/.pykeen.stream (
bool) – Userequestsbe used for download if true otherwise useurllibforce (
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().