- Ensure you have Python installed on your system.
- Install the required packages using the following command:
(Make sure
pip install -r requirements.txt
requirements.txt
includes all necessary libraries likematplotlib
,seaborn
,pandas
, etc.)
- Navigate to the project directory in your terminal.
- Activate your virtual environment if you are using one:
source .venv/bin/activate # On macOS/Linux .venv\Scripts\activate # On Windows
- Run the visualization script:
python code_files/generate_visualizations.py
- The visualizations will be generated in the
output
directory. - Two key visualizations will be created:
artist_success_prediction.png
: Original weights.artist_success_prediction_adjusted.png
: Adjusted weights with higher Spotify popularity.