Datasets
RelationalDataset collects RelationalExample objects for training and evaluation.
The Dataset Overview covers accepted
input types, label shapes, and splitting.
RelationalDataset
- class relational_transformers.RelationalDataset(examples)
A validated, indexable collection of
RelationalExampleobjects.- Parameters:
examples (Iterable[RelationalExample])
- classmethod from_inputs(inputs, labels)
Create a dataset from aligned model inputs and labels.
- Parameters:
inputs (Sequence)
labels (Sequence)
- Return type:
RelationalDataset contains RelationalExample objects, documented with the
training API.