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

Movie are not getting recommended #33

Closed
saadsaw opened this issue Apr 10, 2020 · 2 comments
Closed

Movie are not getting recommended #33

saadsaw opened this issue Apr 10, 2020 · 2 comments

Comments

@saadsaw
Copy link

saadsaw commented Apr 10, 2020

I cloned the repo, installed PostgreSQL, configured settings.py to point at my PSQL installation, setup a TMDb API key and added the key with the appropriate format into a new .prs file.

I did "makemigrations" and "migrate --run-syncdb", both of them went through successfully, I even double checked through pgAdmin and all of the tables were created successfully.

Afterwards I ran "populate_moviegeek.py", the script threw out an error due to a size difference between one of the columns in the dataset and the DB, thus I resorted to use the 100K version of the MovieTweetings dataset, I copied the URL and pasted it as the default parameter for the download_movies function, and rerun the script, everything went through beautifully! All of the movies were added into the Database successfully.

Since I got the 100K version of the MovieTweetings Dataset, I also got the ratings for them, changed the URL inside "populate_ratings.py" and ran the script, everything worked here as well.

Last but not least I ran "populate_logs.py" and it worked as well.

Finally I ran the server using "python manage.py runserver" and I tried accessing the webpage, no issues here, however!
No recommendations were being shown! The analytics page didn't work at all! The console showed diffferent kinds of errors, and I tried getting into the details page of a movie maybe I would get a "Movies similar to ..." recommendations, but didn't aswell.

All in all, I am desperately trying to get the script to work but I can't!

@kimfalk your help would be greatly appreciated!

My current python version: 3.7.7
Windows 10 Pro x64
All of the packages installed successfully using "pip install -r requirements.txt"

@kimfalk
Copy link
Contributor

kimfalk commented Apr 10, 2020

Hi Saad Sawash,

This site is described in the book Practical Recommender Systems, you should refer to that. But if you are looking to make the recommendations work have a look in the builder folder where all the algorithms for recommendations are.

The scripts to get the movietweetings should be working though so I will have a look at that.

@saadsaw
Copy link
Author

saadsaw commented Apr 10, 2020

Thanks for the quick resposne @kimfalk

I actually have bought your book, but still haven't started reading through it, I wanted to test out the website and see the recommendations in action before diving in.

Waiting for your update on the MovieTweetings issue.

@saadsaw saadsaw closed this as completed May 20, 2020
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