EDUMATIC: Jurnal Pendidikan Informatika
Vol 6, No 1 (2022): Edumatic: Jurnal Pendidikan Informatika

Comparison of Naïve Bayes Algorithm and XGBoost on Local Product Review Text Classification

Ivan Rifky Hendrawan (Program Studi Teknik Informatika, Universitas Amikom Yogyakarta)
Ema Utami (Program Studi Teknik Informatika, Universitas Amikom Yogyakarta)
Anggit Dwi Hartanto (Program Studi Teknik Informatika, Universitas Amikom Yogyakarta)



Article Info

Publish Date
19 Jun 2022

Abstract

Online reviews are critical in supporting purchasing decisions because, with the development of e-commerce, there are more and more fake reviews, so more and more consumers are worried about being deceived in online shopping. Sentiment analysis can be applied to Marketplace product reviews. This study aims to compare the two categories of Naïve Bayes and XGBoost by using the two vector spaces wod2vec and TFIDF. The methods used in this research are data collection, data cleaning, data labelling, data pre-processing, classification and evaluation. The data scraping process produced 25,581 data which was divided into 80% training data and 20% test data. The data is divided into two classes, namely good sentiment and bad sentiment. Based on the research that has been done, the combination of Word2vec + XGBoost F1 scores higher by 0.941, followed by TF-IDF + XGBoost by 0.940. Meanwhile, Naïve Bayes has an F1-Score of 0.915 with TF-IDF and 0.900 with word2vec. Classification using XGBoost proved to be able to classify unbalanced data better than Naïve Bayes.

Copyrights © 2022






Journal Info

Abbrev

edumatic

Publisher

Subject

Computer Science & IT Education

Description

EDUMATIC: Jurnal Pendidikan Informatika (e-ISSN: 2549-7472) adalah jurnal ilmiah bidang pendidikan informatika yang diterbitkan oleh Universitas Hamzanwadi dua kali setahun yaitu pada bulan Juni dan Desember. Adapun fokus dan skup jurnal ini adalah (1) Komputer dan Informatika dalam Pendidikan; (2) ...