The Indonesian Journal of Computer Science Research
Vol. 1 No. 2 (2022): July

Perbandingan Algoritma Naïve Bayes dan Decision Tree Pada Sentimen Analisis

Andri Syafrianto (STMIK EL RAHMA Yogyakarta)



Article Info

Publish Date
30 Jul 2022

Abstract

The development of information technology in recent years is fast, pushing internet usage. People use social media to share their opinions or interact simply with each other. Sentiment analysis is a branch of Natural Language Processing (NLP) that can filter and categorize people's views on social media. This study uses Twitter data to compare two algorithms: Naïve Bayes Classifier and Decision Tree. This study divided the data into two scenarios where the first one with 800 data and the second one with 200 data. Data from each scenario was divided again into 70% training data and 30% test data from 1000 data. The result shows that Naïve Bayes Classifier has much higher accuracy with 85% compared to the Decision Tree with 78% in the second scenario.

Copyrights © 2022






Journal Info

Abbrev

IJCSR

Publisher

Subject

Computer Science & IT

Description

The Indonesian Journal of Computer Science Research (IJCSR) adalah jurnal yang memuat naskah ilmiah dari peneliti, akademisi, maupun praktisi, berupa hasil penelitian, tinjauan pustaka ( literature review ) dan/atau bentuk karya tulis ilmiah lainnya, yang khusus mengkaji bidang Ilmu Komputer antara ...