LazyDataset

class LazyDataset[source]

Bases: Dataset

A dataset whose training, testing, and optional validation factories are lazily loaded.

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: CoreTriplesFactory

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

Return type:

TriplesFactory

training: CoreTriplesFactory

A factory wrapping the training triples

Return type:

TriplesFactory

validation: CoreTriplesFactory | None

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

Return type:

Optional[TriplesFactory]