MusicMood: Predicting the mood of music from song lyrics using machine learning
Table 1: Mood label distribution in the training and validation datasets.
['Mood', 'Training', 'Validation', 'Total']
The model selection was performed via grid search and 10-fold cross- validation on the 1000-song training dataset to optimize the performance measured via F1-score. The final model was trained on the entire training dataset, the performance was evaluated on the 200-song validation dataset by measuring the receiver operating characteristic area under the curve (ROC auc), accuracy, precision, recall, and F1-score.