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

How to load movie-lens10M #2

Open
Cung806 opened this issue Mar 30, 2019 · 1 comment
Open

How to load movie-lens10M #2

Cung806 opened this issue Mar 30, 2019 · 1 comment

Comments

@Cung806
Copy link

Cung806 commented Mar 30, 2019

the movie-lens 10M data form is not adjlist or two rows(id1,id2). I do not understand how to transfer movie-lens to adjlist. May be the node is userid and the other node is movie id ?? but different user and movie may own same id.I'm confused.
I'm hoping for your reply .Thanks a lot.

@fabiopetroni
Copy link
Owner

fabiopetroni commented Apr 2, 2019

one option (the one I used) is to start the ids of the movies just after the ids of the users. Concretely, you sum to the movie ids the number of unique users. In general, find whatever way to give different user and movie a unique id. I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants