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

What is the structure/columns of data.csv ? How to load a tensor into the script ? #1

Open
medo opened this issue Nov 21, 2017 · 1 comment

Comments

@medo
Copy link

medo commented Nov 21, 2017

No description provided.

@mjiang89
Copy link
Owner

data.csv is a 4-order tensor. The file has five columns. Each row is a non-zero entry of the tensor. Each of the first four columns has "item" ID of the dimension/order. The last column is the value of the entry.

For example, suppose we have 100 users, 50 movies, 10 websites, and 24 hours (each is a dimension), a row "34 12 4 5 5.0" means the User34 gives rating 5.0 to Movie12 on Website4 at Hour5.

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