You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just notice that you start count id from 1, which lead to one more dimension abuse in both user and item.
For example, the number of user and item in Movielens 1M is 6040 and 3706.
Actually, your final processed dataset , including Scipy matrix is in 6041*3707 shape.
This might be a tiny problem.
The text was updated successfully, but these errors were encountered:
It seems a bit weird that user ids are implicitly assumed to start from 1 until N, with N = num users since 0 is reserved for padding but it raises an error if num_users = user_ids.max(). Same goes for item ids. Or have I missed something?
See spotlight/interactions.py at line 129: if self.user_ids.max() >= self.num_users: raise ValueError('Maximum user id greater ' 'than declared number of users.')
Hello,
I just notice that you start count id from 1, which lead to one more dimension abuse in both user and item.
For example, the number of user and item in Movielens 1M is 6040 and 3706.
Actually, your final processed dataset , including Scipy matrix is in 6041*3707 shape.
This might be a tiny problem.
The text was updated successfully, but these errors were encountered: