Khazanah Informatika : Jurnal Ilmu Komputer dan Informatika
Vol. 11 No. 1 (2025): April 2025

Sentiment Analysis on Social Media Using Long Short-Term Memory and Word2Vec Feature Expansion Methods with Adam Optimization

Khoirunnisa, Sanabila (Unknown)
Setiawan, Erwin Budi (Unknown)



Article Info

Publish Date
29 Jul 2025

Abstract

Twitter is one of Indonesia's most popular social media, so it has many users. The intensity of Twitter use can be used to carry out sentiment analysis related to topics being widely discussed, especially regarding the 2024 Indonesian presidential election. To understand public views, public opinion is divided from text data into positive and negative polarities to measure public sentiment. The classification model uses Long Short-Term Memory (LSTM) for feature extraction, utilizing TF-IDF. In addition, this model also combines Word2Vec based on the Indonews corpus, which contains 142,545 articles for feature expansion. This model is further optimized using the Adam optimization technique to improve accuracy. By using a dataset of 37,391 data, the results of this research obtained an accuracy score of 83.04% and an f1 score of 82.62%. This is an increase in accuracy of 11.22%; for the f1 score, it was a 10.92% increase from the baseline. This indicates that the classification model using Long Short-Term Memory (LSTM) with the application of TF-IDF as feature extraction, Word2Vec as feature expansion, and Adam optimization successfully produced optimal sentiment predictions regarding the 2024 Indonesian Presidential Election.

Copyrights © 2025






Journal Info

Abbrev

khif

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

Khazanah Informatika : Jurnal Ilmu Komputer dan Informatika, an Indonesian national journal, publishes high-quality research papers in the broad field of Informatics and Computer Science, which encompasses software engineering, information system development, computer systems, computer network, ...