Skip to content

提取多跳知识图谱数据集遇到的问题 #134

@dddduoo

Description

@dddduoo

4.转到 conversion_tools/ 目录 并执行以下命令,获取 MovieLens 数据集的 KG 原子文件。

python add_knowledge.py --dataset ml-1m --inter_file ml-1m.inter \
--kg_data_path MovieLens-KG --output_path output_data/ml-1m/ --hop 1

我在这部中的hop参数有个疑问,如果我想复刻在一个三跳数据集进行kgat实验,那么我应该使用提取的hop3数据集,还是将hop1,hop2,hop3合并为一个新的数据集继续进行实验?
感谢您的回答!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions