cd <root_folder_of_project>/
python3 -m venv venv/
source venv/bin/activate
pip install -r requirements.txt
deactivate
cd <root_folder_of_project>/
source venv/bin/activate
In this main file the dataset for which to run experiments is entered by the user through the command window. It will execute all the possible combinations for the k-NN algorithm for the given data set and will store the results in two text files (.txt) for the mean results and each one of the iterations results. Some results are also shown in terminal while the code is executing.
python3 kNNAlgorithm.py
In this main file first the reduction technique to be applied and then the data set to be reduced are entered by the user through the command window. The code will execute the reduction technique defined for the data set given, and will store the results obtained in a text file (.txt). Some results are also shown in terminal.
python3 reductionKNNAlgorithm.py