DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.22k stars 151 forks source link

Link prediction problem #61

Closed serghi99881 closed 4 years ago

serghi99881 commented 4 years ago

I have the data as list of triplets triplets = (['a','b','c'],['d','e','f'],['a','e','c'],['d','e','f'],['a','e','c'],['d','a','f']) Load, build and train are successfully. _app = gap.KnowledgeGraphApplication(dim=32) app.load(triplet_list=triplets) app.build(optimizer=5e-3, numnegative=4) app.train(margin=9) Can I run app.link_prediction with list of triplets as input data?