Journal Of Information System And Artificial Intelligence
Vol. 7 No. 2 (2026): Vol.7 No. 2 (2026): Journal of Information System and Artificial Intelligence V

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

Widayat, Widi (Unknown)



Article Info

Publish Date
09 May 2026

Abstract

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.

Copyrights © 2026






Journal Info

Abbrev

jisai

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Electrical & Electronics Engineering

Description

Journal of Information System and Artificial Intelligence (JISAI) diterbitkan oleh Program Studi Sistem Informasi, Fakultas Teknologi Informasi Universitas Mercu Buana Yogyakarta. JISAI memuat naskah hasil-hasil penelitian dibidang Sistem Informasi, Teknologi Informasi dan Sistem Komputer. JISAI ...