Types
RelationalDataset
RelationalDatasets.RelationalDataset
— TypeRelationalDataset
The RelationalDataset is a NamedTuple
with positive examples (pos), negative examples (neg), and facts (facts) about a domain.
Examples
Create an instance of a RelationalDataset
type:
using RelationalDatasets
train = RelationalDatasets.RelationalDataset((
pos=["related(a,b)."],
neg=["related(b,c)."],
facts=["child(a,b)."],
))
Instances of RelationalDataset
are returned by load
:
using RelationalDatasets
train, test = load("webkb")