IMPLEMENTATION OF TEXT MINING ON SONG LYRICS FOR SONG CLASSIFICATION BASED ON EMOTION USING WEBSITE-BASED LOGISTIC REGRESSION

Music has become an essential medium for expressing emotions and enriching human social experiences. However, the manual interpretation of emotions in song lyrics is often inaccurate and time-consuming, especially for complex or ambiguous lyrics. This creates a need for an automated system that can improve the accuracy and efficiency of emotion classification in song lyrics. Various algorithms, such as K-Nearest Neighbor (K-NN), Naive Bayes Classifier, and Support Vector Machine (SVM), have been applied for emotion classification in song lyrics. Previous research has shown that SVM combined with Particle Swarm Optimization (PSO) achieves an accuracy of up to 90%, while K-NN with feature selection produces the highest f-measure of 66.93%, and Naive Bayes achieves an accuracy of up to 45%. In this study, the Logistic Regression algorithm, supported by the Term Frequency-Inverse Document Frequency (TF-IDF) method, is applied to enhance the accuracy of emotion classification. Evaluation results indicate that the model with figurative language transformation achieves a higher accuracy (93.52%) compared to the model without figurative language transformation (92.31%), demonstrating that figurative language contributes to the richness of emotional expression recognized by the model. This model shows competitive results and can be compared to SVM using PSO while providing better performance than K-NN and Naive Bayes. The system implementation is web-based using the Streamlit framework, allowing users to input lyrics and obtain interactive emotion predictions. This research contributes to the analysis of music emotions and offers an efficient and more accessible alternative for emotion classification in song lyrics.

Authors

Publication Details

Journal
Jurnal Teknik Informatika (Jutif)
Published
2025-02-15
DOI
https://doi.org/10.52436/1.jutif.2025.6.1.4429
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

IMPLEMENTATION OF TEXT MINING ON SONG LYRICS FOR SONG CLASSIFICATION BASED ON EMOTION USING WEBSITE-BASED LOGISTIC REGRESSION

Swahesti Puspita Rahayu, Lasmedi Afuan, Galih Arditiya Yunindar
1 citations
Jurnal Teknik Informatika (Jutif)
Sentiment Analysis and Opinion Mining
2.48
article

IMPLEMENTATION OF TEXT MINING ON SONG LYRICS FOR SONG CLASSIFICATION BASED ON EMOTION USING WEBSITE-BASED LOGISTIC REGRESSION

Swahesti Puspita Rahayu, Lasmedi Afuan, Galih Arditiya Yunindar
article en
1 citations

Abstract

Music has become an essential medium for expressing emotions and enriching human social experiences. However, the manual interpretation of emotions in song lyrics is often inaccurate and time-consuming, especially for complex or ambiguous lyrics. This creates a need for an automated system that can improve the accuracy and efficiency of emotion classification in song lyrics. Various algorithms, such as K-Nearest Neighbor (K-NN), Naive Bayes Classifier, and Support Vector Machine (SVM), have been applied for emotion classification in song lyrics. Previous research has shown that SVM combined with Particle Swarm Optimization (PSO) achieves an accuracy of up to 90%, while K-NN with feature selection produces the highest f-measure of 66.93%, and Naive Bayes achieves an accuracy of up to 45%. In this study, the Logistic Regression algorithm, supported by the Term Frequency-Inverse Document Frequency (TF-IDF) method, is applied to enhance the accuracy of emotion classification. Evaluation results indicate that the model with figurative language transformation achieves a higher accuracy (93.52%) compared to the model without figurative language transformation (92.31%), demonstrating that figurative language contributes to the richness of emotional expression recognized by the model. This model shows competitive results and can be compared to SVM using PSO while providing better performance than K-NN and Naive Bayes. The system implementation is web-based using the Streamlit framework, allowing users to input lyrics and obtain interactive emotion predictions. This research contributes to the analysis of music emotions and offers an efficient and more accessible alternative for emotion classification in song lyrics.

Jurnal Teknik Informatika (Jutif)Vol. 6(1)
Openalex Percentile: Top 10%
Sentiment Analysis and Opinion Mining
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.