PackedZipRemoteDataset¶
-
class
PackedZipRemoteDataset
(relative_training_path, relative_testing_path, relative_validation_path, url=None, name=None, cache_root=None, eager=False, create_inverse_triples=False)[source]¶ Bases:
pykeen.datasets.base.LazyDataset
Contains a lazy reference to a remote dataset that is loaded if needed.
Initialize dataset.
- Parameters
url (
Optional
[str
]) – The url where to download the dataset fromname (
Optional
[str
]) – The name of the file. If not given, tries to get the name from the end of the URLcache_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_HOME
or defaults to~/.pykeen
.eager (
bool
) – Should the data be loaded eagerly? Defaults to false.create_inverse_triples (
bool
) – Should inverse triples be created? Defaults to false.
Attributes Summary
Attributes Documentation
-
header
= None¶
-
sep
= '\t'¶