Recommend books to students based on selected course.
python 3
,pip
- Apache Jena Fuseki
Clone repo:
git clone https://github.com/tamarakatic/book-recommender-system.git
cd book-recommender-system/
Make virtualenv and install requirements:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Follow instructions to start Jena Fuseki server and load data file.
Train recommender system:
python -m recommender --train
Set SPARQL server URL and Run Flask server:
SPARQL_SERVER_URL=<url_to_jena_fuseki_server> python run.py
e.g.
SPARQL_SERVER_URL=http://localhost:3030/books/ python run.py
Go to start page.