EUVIMEDEUVIMED entdecken
Crossref

A Comparative Study of Naïve Bayes, SVM, Random Forest, and LSTM Performance in Sentiment Analysis on a Movie Review Dataset

Widi Widayat

Journal Of Information System And Artificial Intelligence · 09.05.2026 · 7 (2) · 138-148

DOI: 10.26486/jisai.v7i2.274 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal Of Information System And Artificial Intelligence, online erschienen am 09.05.2026. Verfasst von Widi Widayat.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Sentiment analysis is an important task in natural language processing, aimed at identifying and classifying opinions or emotions in textual data. This study compares the performance of four classification algorithms—Naïve Bayes, Support Vector Machine (SVM), Random Forest, and Long Short-Term Memory (LSTM)—on 25,000 English-language movie reviews with balanced sentiment labels. Text preprocessing includes cleaning, tokenization, and TF-IDF vectorization for traditional models. For LSTM, both randomly initialized embeddings and pre-trained embeddings are tested. Results, evaluated using accuracy, F1-score, and confusion matrix, show that SVM performs best with 89% accuracy, followed by Naïve Bayes and LSTM at 86%, and Random Forest at 82%. LSTM performs poorly with TF-IDF or self-trained embeddings but improves significantly with pre-trained embeddings. These findings indicate that traditional models, especially SVM, remain highly effective for sentiment analysis on moderately sized datasets, while LSTM requires proper text representation to perform competitively.

Zitieren

APA

Widayat, W. (2026). A Comparative Study of Naïve Bayes, SVM, Random Forest, and LSTM Performance in Sentiment Analysis on a Movie Review Dataset. Journal Of Information System And Artificial Intelligence, 7(2), 138-148. https://doi.org/10.26486/jisai.v7i2.274

Vancouver

Widayat W. A Comparative Study of Naïve Bayes, SVM, Random Forest, and LSTM Performance in Sentiment Analysis on a Movie Review Dataset. Journal Of Information System And Artificial Intelligence. 2026;7(2):138-148. doi:10.26486/jisai.v7i2.274

BibTeX
@article{Widayat2026,
  author = {Widayat, Widi},
  title = {A Comparative Study of Naïve Bayes, SVM, Random Forest, and LSTM Performance in Sentiment Analysis on a Movie Review Dataset},
  journal = {Journal Of Information System And Artificial Intelligence},
  year = {2026},
  volume = {7},
  number = {2},
  pages = {138--148},
  doi = {10.26486/jisai.v7i2.274}
}
Kostenlos starten →