ConceptNet¶
-
class
ConceptNet
(create_inverse_triples=False, random_state=0, **kwargs)[source]¶ Bases:
pykeen.datasets.base.SingleTabbedDataset
The ConceptNet dataset from [speer2017].
The dataset is structured into 5 columns (see https://github.com/commonsense/conceptnet5/wiki/Downloads#assertions): edge URL, relation, head, tail, metadata.
- speer2017(1,2)
Robyn Speer, Joshua Chin, and Catherine Havasi. (2017) ConceptNet 5.5: An Open Multilingual Graph of General Knowledge. In proceedings of AAAI 31.
Initialize the ConceptNet dataset from [speer2017].
- Parameters
create_inverse_triples (
bool
) – Should inverse triples be created? Defaults to false.random_state (
Union
[None
,str
,Generator
]) – The random seed to use in splitting the dataset. Defaults to 0.kwargs – keyword arguments passed to
pykeen.datasets.base.SingleTabbedDataset
.