Let me help you.
P2EM refers to "Plan to Embarass Myself"
To understand the background story, read my article, * How I Plan to Embarass Myself ...
Hey, read it :)
If you read the article above, you should get a sense of what this is about.The service (largely written in Python) recommends movies based on a user's previous movie ratings using Machine Learning.
Oops. That was a mouthful.
I'm currently building out a web client where you can try this.I'll have the link here, when there's something pretty for you to see :)
Yeah, I've got your back.
- Clone the repo
git clone https://github.com/ohansemmanuel/recommender-service.git
- Create a .env file
cd recommender-service
touch .env
- The env file requires 4 important variables
JWT_SECRET_KEY
USERNAME
PASSWORD
USER_ID
-
JWT_SECRET_KEY is required by Flask-JWT for some encryption.
-
USERNAME and PASSWORD will be used to access authorized resources. These should be unique strings.
-
USER_ID is required, just like the username and password. This should be an Integer
- Install the app dependencies
pip install -r requirements.txt
- Get movie data files
Create a /data/ folder in the root containing the movie csv files, found here.
- If you have some experience with Python development, you may need to have the app loaded from a virtual environment.
I should move this over to Digital Ocean for some customized control later.
If you wanna try something out, here's the endpoint for retrieving a list of movies ๐ /movies
I'll refactor pretty soon. Still writing out the code. It never gets completed, does it? :(
Catch you later! ๐