thunlp / KB2E

Knowledge Graph Embeddings including TransE, TransH, TransR and PTransE
MIT License
1.4k stars 450 forks source link

entity prediction task when testing pTransE #56

Closed ShellingFord221 closed 5 years ago

ShellingFord221 commented 6 years ago

Hi, If I only know relation and tail in a triple (which means head is totally unknown), then I can't use PCRA.py to generate test_pra.txt, then I can't test pTransE. Is that correct?

Mrlyk423 commented 6 years ago

You can first generate e1_e2.txt file by TransE's scores and then run PCRA.py.