This app uses Keras and Theano to implement online collaborative filtering. Users select movies that they like or dislike and the model updates the collaborative filtering model.
- Clone the repo
git clone https://github.com/erickramer/recoapp.git
cd recoapp
- Create a virtual environment
virtualenv venv
source venv/bin/activate
- Install python dependencies
pip install -r requirements.txt
- Download data and build SQLite database
python create_db.py
- Run app
python run_app.py
- Open your browser to localhost:50000
The front-end polls the backend for new recommendations every few seconds. This probably isn't the best. Plus adding new ratings to the models takes 1-2 seconds on my macbook pro. So that delays the responsiveness of the server