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

Getting error while laoding the data. #23

Closed
dilipbobby opened this issue Apr 6, 2017 · 2 comments
Closed

Getting error while laoding the data. #23

dilipbobby opened this issue Apr 6, 2017 · 2 comments

Comments

@dilipbobby
Copy link

I want to try out the python-recsys but it is giving me the error while loading the movie ratings mail.

**>>> svd.load_data(filename='./movierates.dat', sep='::', format={'col':0,'row':1,'value':2,'ids': int})

Error (ID is not int) while reading: [u'userId', u'movieId', u'rating', u'timestamp']
Error while reading: [u'']**

@ocelma
Copy link
Owner

ocelma commented Apr 6, 2017

Please check that your input data has integers for all userId values (you're setting 'ids': int, in the parameters)

The error is telling you that most likely they aren't

@ocelma
Copy link
Owner

ocelma commented Apr 6, 2017

Actually there's a value in the UserId field that's '**'
Hence the error

@ocelma ocelma closed this as completed Apr 6, 2017
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