Accenture / AmpliGraph

Python library for Representation Learning on Knowledge Graphs https://docs.ampligraph.org
Apache License 2.0
2.14k stars 251 forks source link

Negative Sample generation #160

Closed snash4 closed 4 years ago

snash4 commented 4 years ago

Background and Context For any given dataset with all valid triples (s,r,o) e.g FB15k, is there any utility function by which we can generate the negative samples. As far as I understand, negative sample generation code is built-in but it not straight forward utility function which can be called without initializing and building a model.

Thanks.

snash4 commented 4 years ago

sorry, I found these are available in Evaluation package.