Optimization Sentimen Analysis using CRISP-DM and Naive Bayes Methods Implemented on Social Media

Denni Kurniawan, Muhammad Yasir


Freedom of expression on social media Twitter not always give positive value, because sometimes can contains negative things such as fake news, spreads hate speech, and racism, where these kinds of tweet can be categorized as an act of Cyberbullying. Where this cyberbullying tends to increase every time. The aim of this study is to use the Naïve Bayes method in classifying types of sentiment on Twitter. The keyword used is Saipul Jamil, and the tweet was taken in September 2021. A total of 18,067 tweets were collected and then they will be labelled with a positive or negative value. This study also uses the CRIPS-DM method which is consist of Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment stages. The results of this study obtained the value of Accuracy (85.6%), Negative Recall (82.1%), Positive Recall (90.23%), and Negative Precision (91.76%) Positive Precision (79.18%).


Cyberbullying; CRIPS-DM; Naïve Bayes; Sentiment Analysis; Twitter

Full Text:



D. R. Rahadi, “Perilaku Pengguna dan Informasi Hoax di Media Sosial”. Jurnal Manajemen dan Kewirausahaan, vol.5(1), pp. 58-70. 2017.

M. S. Abdussalam, Sejumlah kasus bullying sudah warnai catatan masalah anak di awal 2020 begini kata komisioner KPAI, https://www.kpai.go.id/publikasi/sejumlah-kasus-bullying-sudah-warnai-catatan-masalah-anak-di-awal-2020-begini-kata-komisioner-kpai, 2020, retrieved February 13, 2020.

F. A. Maulana, and I. Ernawati, “Analisa Sentimen Cyberbullying di Jejaring Sosial Twitter dengan Algoritma Naïve Bayes”, Seminar Nasional Mahasiswa Ilmu Komputer dan Aplikasinya, vol. 1(2), pp. 529-538. 2020.

N. A. O. Saputril, and K. Zuhri, “Analisis sentimen masyarakat terhadap pilpres 2019 berdasarkan opini dari Twitter menggunakan metode Naïve Bayes classifier”. Jurnal Informanika, vol. 7(1), pp. 55-62, 2021.

K. Sulastri, “Klasifikasi Naïve Bayes pada analisis sentimen atas penolakan dibukanya larangan ekspor benih lobster”, Jurnal Riset Inovasi Bidang Informatika dan Pendidikan Informatika KERNEL, vol. 1(2), pp. 68-75. 2020.

F. A. Maulana, I. Ernawati, P. Labu, and J. Selatan, “Analisa sentimen cyberbullying di jejaring sosial Twitter dengan algoritma Naïve Bayes”, Seminar Nasional Mahasiswa Ilmu Komputer dan Aplikasi (SENAMIKA), pp. 529–538. 2020.

I. Alanazi, and J. Alves-foss, “Cyber bullying and machine learning: A survey”, International Journal of Computer Science Security, vol. 18(10), pp. 1-8, 2020.

Anon, Civility, Safety & Interaction Online: Indonesia,

shttps://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE4MM8l, 2021,

retrieved November 10, 2021

A. F. Khairati, A. A. Adlina, G. F. Hertono, and B. D. Handari, “Kajian Indeks Validitas pada Algoritma K-Means Enhanced dan K-Means MMCA”, Prosiding Seminar Nasional Matematika, vol. 2. pp. 161-170, 2019.

G. I. Webb. “Encyclopedia of Machine Learning and Data Mining”, Encyclopedia of Machine Learning and Data Mining

Bustami, “Penerapan Algoritma Naive Bayes untuk Mengklasifikasi Data Nasabah”, TECHSI: Jurnal Penelitian Teknik Informatika, vol. 4, pp. 127-146. 2010.

W. Rüdiger, and J. Hipp. “CRISP-DM: Towards a Standard Process Model for Data Mining.” Proceedings of the 4th international conference on the practical applications of knowledge discovery and data mining, vol. 4, pp. 29–39. 2000.

P. Chapman, J. Clinton, R. Kerber, T. Khabaza, T. Reinartz, C. Shearer, and R. Wirth. “CRISP-DM 1.0: Step-by-step Data Mining Guide,” 2000.

C. Schröer, F. Kruse, and J. M. Gómez, “A Systematic Literature Review on Applying CRISP-DM Process Model”, Procedia Computer Science, vol. 181 (2019), pp. 526–534. 2021.

M. S. Hadna, P. I. Santosa, dan W. W. Winarno, “Studi Literatur Tentang Perbandingan Metode Untuk Proses Analisis Sentimen Di Twitter”, Seminar Nasional Teknologi Informasi dan Komunikasi 2016 (Sentika), 2016, pp. 57–64.

A. Giachanou, dan F. Crestani, “Like it or not: A survey of Twitter sentiment analysis methods”, ACM Computing Surveys, vol. 49 (2), 2016. pp. 1-41.

S. N. Kane, A. Mishra, dan A. K. Dutta, “Preface: International Conference on Recent Trends in Physics (ICRTP 2016)”, Journal of Physics: Conference Series, vol. 755 (1), 2016, pp. 3–9.

DOI: http://dx.doi.org/10.22373/cj.v6i2.12793


  • There are currently no refbacks.

Copyright (c) 2022 Denni Kurniawan

This journal has been indexed by:

Cyberspace: Jurnal Pendidikan Teknologi Informasi
Published by Center for Research and Community Service (LP2M) in cooperation with the Department of Information Technology Education, Faculty of Education and Teacher Training, Ar-Raniry State Islamic University, Banda Aceh.
P-ISSN: 2598-2079
E-ISSN: 2597-9671
Creative Commons License
Content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License,
except where otherwise noted.