diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a255fde --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +__pycache__ +.git +.gitignore +.vscode +.idea +*.pyc +*~ +data/ +secrets.env \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6014f22 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM pytorch/pytorch:latest +WORKDIR /code +RUN pip install --no-cache-dir -r requirements.txt +EXPOSE 8888 diff --git a/ML/Pytorch/recommender_systems/2.non-personalized-recsys/part1-popularity_recsys.ipynb b/ML/Pytorch/recommender_systems/2.non-personalized-recsys/part1-popularity_recsys.ipynb index a3b5040..c1daf59 100644 --- a/ML/Pytorch/recommender_systems/2.non-personalized-recsys/part1-popularity_recsys.ipynb +++ b/ML/Pytorch/recommender_systems/2.non-personalized-recsys/part1-popularity_recsys.ipynb @@ -13,7 +13,7 @@ "metadata": {}, "outputs": [], "source": [ - "import os \n", + "import os\n", "\n", "if os.path.exists('movielens_small.zip'):\n", " !wget https://files.grouplens.org/datasets/movielens/ml-latest-small.zip \n", diff --git a/ML/Pytorch/recommender_systems/3.personalized-recsys/main.py b/ML/Pytorch/recommender_systems/3.personalized-recsys/main.py new file mode 100644 index 0000000..8753114 --- /dev/null +++ b/ML/Pytorch/recommender_systems/3.personalized-recsys/main.py @@ -0,0 +1,6 @@ +# TF-IDF from scratch + +import numpy as np +import pandas as pd + + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..76cd670 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,28 @@ +numpy +pandas +scikit-learn +matplotlib +seaborn +scipy + +# Deep Learning +torchvision +torchaudio +transformers +tensorboard + +# For gradient boosting machines (GBMs) +xgboost +lightgbm + +# For working with text data +nltk +spacy + +# For image processing tasks +opencv-python-headless +Pillow + +# Jupyter Notebook (remove if you do not use it within the container) +jupyter +ipywidgets \ No newline at end of file