EagerInductiveDataset

class EagerInductiveDataset(transductive_training: CoreTriplesFactory, inductive_inference: CoreTriplesFactory, inductive_testing: CoreTriplesFactory, inductive_validation: CoreTriplesFactory | None = None, create_inverse_triples: bool = True)[source]

Bases: InductiveDataset

An eager inductive datasets.

Attributes Summary

create_inverse_triples

All datasets should take care of inverse triple creation

inductive_inference

inductive_testing

A factory wrapping the testing triples, that share indices with the INDUCTIVE INFERENCE triples

inductive_validation

A factory wrapping the validation triples, that share indices with the INDUCTIVE INFERENCE triples

transductive_training

A factory wrapping the training triples

Attributes Documentation

Parameters:
create_inverse_triples: bool = True

All datasets should take care of inverse triple creation

inductive_inference: CoreTriplesFactory = <dataclasses._MISSING_TYPE object>
inductive_testing: CoreTriplesFactory = <dataclasses._MISSING_TYPE object>

A factory wrapping the testing triples, that share indices with the INDUCTIVE INFERENCE triples

inductive_validation: CoreTriplesFactory | None = None

A factory wrapping the validation triples, that share indices with the INDUCTIVE INFERENCE triples

transductive_training: CoreTriplesFactory = <dataclasses._MISSING_TYPE object>

A factory wrapping the training triples