0

Spotify Lyrical Genre Classifier

Classifies track genres via lyric vectorization and ensemble models.

Overview

Vectorized song lyrics with TfidfVectorizer and trained SVM, Random Forest, and Logistic Regression models—then improved accuracy via ensemble voting and hyperparameter tuning with GridSearchCV.

Features

  • Text Preprocessing: Cleans non-alphabetic chars & lowercases
  • Multiple Classifiers: SVM, Random Forest, Logistic Regression
  • Ensemble Voting: Combines predictions for robustness

Built With

  • Python & scikit-learn
  • pandas & NumPy
  • TfidfVectorizer