Skip to content

HI there I want to ask the way to produce my own dataset  #2

@johnnyjana730

Description

@johnnyjana730

I find that the dataset you use there is in *.pkl format. I am a little confused how to produce my own dataset. I read the code in "train.py" and it seem like in the pkl file has three key 'train_data', 'test_data', 'adj'.
image

I want to ask whether these three value is exactly same to the dataset in original RippleNet repositories dataset, which is in *.txt format. In other word, 'train_data' and 'test_data' split from "ratings_final.txt" and 'adj' is same to "kg_final.txt"? If is it right it mean that if I want to produce my own dataset I just need to sort my own dataset same to RippleNet's one and transfer the data of "ratings_final.txt" and "kg_final.txt" to 'train_data', 'test_data', 'adj' and save it in pkl file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions