InductiveDataset

class InductiveDataset[source]

Bases: object

Contains transductive train and inductive inference/validation/test datasets.

Attributes Summary

create_inverse_triples

All datasets should take care of inverse triple creation

inductive_validation

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

Methods Summary

summarize([title, show_examples, file])

Print a summary of the dataset.

summary_str([title, show_examples, end])

Make a summary string of all of the factories.

Attributes Documentation

create_inverse_triples: bool = True

All datasets should take care of inverse triple creation

inductive_validation: Optional[CoreTriplesFactory] = None

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

Methods Documentation

summarize(title=None, show_examples=5, file=None)[source]

Print a summary of the dataset.

Return type

None

Parameters
summary_str(title=None, show_examples=5, end='\\n')[source]

Make a summary string of all of the factories.

Return type

str

Parameters