LazyDataset

class LazyDataset[source]

Bases: pykeen.datasets.base.Dataset

A dataset that has lazy loading.

Attributes Summary

testing

The testing triples factory that shares indices with the training triples factory.

training

The training triples factory.

validation

The validation triples factory that shares indices with the training triples factory.

Attributes Documentation

testing: pykeen.triples.triples_factory.TriplesFactory

A factory wrapping the testing triples, that share indices with the training triples

Return type

TriplesFactory

training: pykeen.triples.triples_factory.TriplesFactory

A factory wrapping the training triples

Return type

TriplesFactory

validation: Optional[pykeen.triples.triples_factory.TriplesFactory]

A factory wrapping the validation triples, that share indices with the training triples

Return type

Optional[TriplesFactory]