-
Install Python 3.10.
-
Clone this repository and create a venv:
git clone https://github.com/h4iku/tag-recom.git cd tag-recom python -m venv .venv .venv/Scripts/activate
-
Update and install the required dependencies:
python -m pip install -U pip setuptools pip install -r requirements.txt
-
Download the datasets from here, and unzip them in the root directory of the cloned repository:
tag-recom/data ├── apple ├── askubuntu ├── codereview ├── dba ├── serverfault ├── softwareengineering ├── stackoverflow ├── stats ├── superuser ├── tex └── wordpress
-
Run the main module:
python tag_recommender/main.py
Change the value of the
DATASET
variable indatasets.py
to choose different datasets. There are also some boolean flags inmain.py
to control the execution of different parts of the program.