Skip to content

About

A music genre classification system using handcrafted audio features and an XGBoost classifier, deployed as a FastAPI backend.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Music_Genre_Classification

This project implements a music genre classification system using handcrafted audio features (MFCCs, chroma, spectral, and rhythm descriptors) extracted from raw .wav files with librosa.

(Based on GTZAN Genre Collection Dataset)

Random Forest and XGBoost classifiers were trained and evaluated for multi-class genre prediction, with XGBoost achieving a marginal (~0.5%) accuracy improvement over Random Forest.

The trained XGBoost model is deployed as a FastAPI backend (with PyAV handling mp4/mp3/m4a → wav conversion) paired with a static frontend, hosted on Render and GitHub Pages respectively — try it live here.

About

A music genre classification system using handcrafted audio features and an XGBoost classifier, deployed as a FastAPI backend.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages