A project to classify music genres and generate personalized playlists based on audio features.
Before running the notebooks, ensure you have the following installed:
- Python 3.x
- Required Python libraries:
- pandas
- numpy
- scikit-learn
- librosa
- h5py
- tqdm
- tensorflow
-
Run
music_preprocessing.ipynb
- Description: Processes data from the songs in the
Test_Songs
directory.
- Description: Processes data from the songs in the
-
Run
music_classifier.ipynb
- Description: Builds the Neural Network model.
- Note: This step takes approximately 6 minutes, depending on your PC's performance.
-
Run
song_Info.ipynb
- Description: Classifies songs into genres.
- Run
playlistGenerator.ipynb
- Description: Creates a playlist based on the subset of music data used.
- Important: This step requires additional data files (over 1GB) to function correctly.
Note: Please make sure you have downloaded and that you put these files in the right directory before running the playlistGenerator.ipynb
notebook.