Set up tutorial

Prerequerment and instructions for the project set up

Sections

  1. Prerequirments
  2. Usage of the application

Prerequierments

In order to run the application some additional packages may need to be installed. Follow the guidelines described below

Only for Linux/Mac operating systems!

Installing python-pip:

sudo apt install python-pip

Installing requests:

pip install requests

Installing numpy:

pip install numpy

Installing matplotlib:

pip install matplotlib

Usage of the application

Starting the depression rate calculations:

spark-submit ./calcDepression.py

Starting the hdi calculations:

spark-submit ./calcHDI.py

Displaying the depression graph:

python ./depression/analyzeDepression.py 15

Displaying the hdi graph:

python ./hdi/analyzeHDI.py 15

The lastFM API key is already hardcoded in the trackGrouping.py file, the one which is found inside can be used. The groups will appear in the corresponding folders, but they are also already pushed in the repository.

Our GitHub