thunlp / KB2E

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

请问在TransE代码中method的bern和unif分别表示什么? #77

Closed rayrayraykk closed 5 years ago

rayrayraykk commented 5 years ago

原论文的参数是unif吗?麻烦博士解释一下bern和unif代表着什么含义,谢谢!

rayrayraykk commented 5 years ago

明白了 unif是50%概率

sbaban commented 5 years ago

均匀采样和伯努利采样,详见transh论文