推荐系统论文源码笔记——依次学习之DKN源码笔记
github地址:https://github.com/hwwang55/DKN
数据说明
- raw_train.txt and raw_test.txt:
user_id[TAB]news_title[TAB]label[TAB]entity_info
for each line, wherenews_title
is a list of wordsw1 w2 ... wn
, andentity_info
is a list of pairs of entity id and entity name:entity_id_1:entity_name;entity_id_2:entity_name...
- kg.txt:
head[TAB]relation[TAB]tail
for each line, wherehead
andtail
are entity ids andrelation
is the relation id.
Q:entity_info中的entity是什么