A Machine Learning project that classifies songs into different music genres using audio feature extraction and a Random Forest classifier.
- Audio feature extraction using Librosa
- Genre prediction using Machine Learning
- Random Forest classification model
- PCA visualization of genre clusters
- Confidence score prediction
- Model saving using Joblib
- Python
- Librosa
- NumPy
- Pandas
- Scikit-learn
- Matplotlib
- Seaborn
- Joblib
- Load audio files
- Extract audio features
- Store features in CSV format
- Train ML model
- Test model performance
- Predict genre for new songs
- Save trained model
- Classical
- HipHop
- Jazz
- MFCCs
- Chroma STFT
- Spectral Centroid
- Spectral Bandwidth
- Spectral Rolloff
- Zero Crossing Rate
- Harmony & Percussive Features
- RMS Energy
- Random Forest Classifier
music_genre_model.pklmusic_scaler.pklmusic_encoder.pkl
Install the required Python libraries and run the notebook or Python script to:
- Extract features
- Train the model
- Predict genres
- Add more music genres
- Improve dataset size
- Build a web application
- Try deep learning models like CNN or LSTM
YASHU A.B.