Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.22 KB

ANALOGY

The repository provides lightweight C++ implementations for the following papers

Basic Usage

Training

make && ./main -algorithm Analogy -model_path output.model

Prediction

./main -algorithm Analogy -model_path output.model -prediction 1

The program runs with 32 threads by default. For more options, please refer to main.cc.

Contributors

Please cite the following if you use the code for publication

@article{liu2017analogical,
  title={Analogical Inference for Multi-Relational Embeddings},
  author={Liu, Hanxiao and Wu, Yuexin and Yang, Yiming},
  journal={arXiv preprint arXiv:1705.02426},
  year={2017}
}