Skip to content

Atharva-Parkar/Spotifire-A-Song-Likability-Predictor-Using-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotifire

Song Likability Predictor Using Machine Learning.

Spotifire is a machine learning project that predicts song likability using a Random Forest classifier. Leveraging the Spotify API and scikit-learn, Spotifire provides personalized recommendations based on diverse musical features. With seamless integration and real-time predictions, Spotifire enhances the music discovery experience, making it more accurate and tailored to individual preferences.

  • Predict song likability with a Random Forest classifier.
  • Utilize the Spotify API for real-time user interaction.
  • Enhance music streaming experiences through personalized recommendations.

Give Spotifire a spin and let the music find you! 🎶

How to work on the project?

Step 1: Install Required Files

Download the user_song_data.csv dataset containing user song likes and dislikes along with music attributes.

Step 2: Upload the File to Google Drive

Upload the user_song_data.csv file to your Google Drive. This ensures convenient access to the dataset during the project.

Step 3: Set Up Spotify Developer Account

  1. Go to the Spotify Developer Dashboard.
  2. Log in or create a new account.
  3. Create a new app to obtain Spotify API credentials.
  4. Copy the client ID and client secret for future use.

Step 4: Open the Jupyter Notebook

Open the provided Jupyter Notebook on your local machine or in a Google Colab environment.

Step 5: Configure Spotify API Credentials

In the notebook, replace placeholder values for client_id and client_secret with the credentials obtained from the Spotify Developer Dashboard.

Step 6: Run the Jupyter Notebook

Run the entire Jupyter Notebook (Spotifire.ipynb). This will execute all necessary steps, including connecting to Google Drive, loading the dataset, preprocessing the data, training the model, and creating an interactive interface for likability prediction.

Step 7: Experiment and Iterate

  1. Experiment with different features, models, or preprocessing techniques.
  2. Iterate on the project to enhance its capabilities.

Find a bug?

If you encounter any issues or wish to suggest improvements for this project, kindly submit an issue using the "Issues" tab above. In case you'd like to contribute a fix, please submit a pull request (PR) and reference the corresponding issue you created.

Releases

No releases published

Packages

No packages published