xwhan / DeepPath

code and docs for my EMNLP paper "DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning"
529 stars 135 forks source link

Could you explain the program more clearer? #17

Closed charlesfufu closed 4 years ago

charlesfufu commented 4 years ago

image I don't know the meaning of these files

yhshu commented 4 years ago

I also have some doubts about the input files, e.g., what should the contents of the following two files be?

graphpath = dataPath + 'tasks/' + relation + '/' + 'graph.txt'
relationPath = dataPath + 'tasks/' + relation + '/' + 'train_pos'
xwhan commented 4 years ago

the first file is the graph we are going to find paths; the second file includes the training triples for a particular relation