推荐系统论文源码笔记——依次学习之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, where news_title is a list of words w1 w2 ... wn, and entity_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, where head and tail are entity ids and relation is the relation id.

Q:entity_info中的entity是什么

 

posted @ 2019-07-31 09:09  IcarusYu  阅读(530)  评论(0编辑  收藏  举报