Go to file
Aleksander Piotrowski df22464481 Fix README
2021-06-29 16:15:56 +02:00
data/hotel_data Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
data_preprocessing Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
evaluation_and_testing Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
recommenders Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
.gitignore Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
environment.yml Fix README 2021-06-29 16:15:56 +02:00
project_1_data_preparation.html Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
project_1_data_preparation.ipynb Add recommender with HR10 0.116 2021-06-28 20:18:14 +02:00
project_2_recommender_and_evaluation.html Fix README 2021-06-29 16:15:56 +02:00
project_2_recommender_and_evaluation.ipynb Fix README 2021-06-29 16:15:56 +02:00
README.md Fix README 2021-06-29 16:15:56 +02:00

Recommender Systems class - Project 2

Preparing your system

  1. Install Docker.

  2. Fork this repository to your GitHub account.

  3. Pull Jupyter image:

docker pull jupyter/minimal-notebook:latest
  1. Run Jupyter docker image:
docker run \
	-d -p 8888:8888 \
	-v DIRECTORY:/home/jovyan/REK \
	--name REK \
	jupyter/minimal-notebook

Remember to change DIRECTORY to directory where all files can be found. You can change it to $(pwd) if your current directory is proper one.

  1. Get loging link with following command:
docker logs REK 2>&1 | grep -o 'http://127.0.0.1:8888/?token.*' | tail -n1

Example output:
http://127.0.0.1:8888/?token=2bb816a4bc36a4bdbf64e0c9a89f336ae5404a01d15e442c

If above command did not work. Just find it in logs:

docker logs REK
  1. Prepare conda environment:
docker exec REK bash -c "
conda env create --name REK -f /home/jovyan/REK/environment.yml;
conda run -n REK /bin/bash -c \"
python -m ipykernel install --user --name=REK\""
  1. You can start/stop container whenever you want:
docker stop REK
docker start REK

If you want to start from scratch, you can remove container:

docker stop REK
docker rm REK

Now you are ready to work!