Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weights of the data sample #103

Closed
Yurikusu opened this issue Nov 22, 2024 · 1 comment
Closed

weights of the data sample #103

Yurikusu opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Yurikusu
Copy link

I saw the dataset of tgbl-review and I saw the four columns : ts,source,target,weight

How was the weight of the edge calculated? Out of what information exaclty?

I plan to use the model on my own data for Link prediction and I am not quite sure if I can use multiple columns.
I have properties for each node. In my case I try to model something with customer and product nodes. I want to add properties like age and gender to a customer node. Do I have to put all these into one column "weight" ?

Best regards

@shenyangHuang
Copy link
Owner

shenyangHuang commented Jan 6, 2025

Hi Yurikusu,

Thank you for your interest in our work.
The weight for this dataset is the user review score corresponding with the edge, i.e. which score the user gave to this product. You can use multiple columns with your data file in csv format. You would need to write your own data pre-processing code. For more details, please see issue #84

Best,
Andy

@shenyangHuang shenyangHuang self-assigned this Jan 6, 2025
@shenyangHuang shenyangHuang added the documentation Improvements or additions to documentation label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants