relationPrediction
relationPrediction copied to clipboard
A question about code
Thanks for sharing code. Where debuging the code, I find a question about the 'graph_create',here is what I understand: the Graph is a dict<key,head_id of a triple:value,dict<key,tail_id:value,rel_id>>,when traverse the all_tipleshttps://github.com/deepakn97/relationPrediction/blob/785721b758e9c87144b5d271dd5daaa46bb1e6ea/create_batch.py#L233 the rel_id appear later would cover before,so the graph is incompleted,I was confused,can anyone give a explanation. ;) https://github.com/deepakn97/relationPrediction/blob/785721b758e9c87144b5d271dd5daaa46bb1e6ea/create_batch.py#L242