- Ensure you have Python installed on your system.
- Install the required packages using the following command:
(Make sure
pip install -r requirements.txtrequirements.txtincludes 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
outputdirectory. - Two key visualizations will be created:
artist_success_prediction.png: Original weights.artist_success_prediction_adjusted.png: Adjusted weights with higher Spotify popularity.