ttrouill / complex

Source code for experiments in the papers "Complex Embeddings for Simple Link Prediction" (ICML 2016) and "Knowledge Graph Completion via Complex Tensor Factorization" (JMLR 2017).
Other
319 stars 83 forks source link

Evaluation data matrix is modified during test? #11

Closed tranhungnghiep closed 6 years ago

tranhungnghiep commented 6 years ago

I'm looking at the scoring function, it seems idx_obj_mat and idx_sub_mat are inited only once but are modified many times in the for-loop and eval_...() functions. Could you please look into this?
Thanks

tranhungnghiep commented 6 years ago

I see why, it's optimized and working correctly.