SENTIMENT ANALYSIS USING K-NEAREST NEIGHBOR BASED ON PARTICLE SWARM OPTIMIZATION ACCORDING TO SUNSCREEN’S REVIEWS

  • Anita Nur Syifa Rahayu STT Wastukancana
  • Teguh Iman Hermanto STT Wastukancana
  • Imam Ma'ruf Nugroho STT Wastukancana
Keywords: k nearest neighbor, particle swarm optimization, review, sentiment analysis, sunscreen

Abstract

High UV exposure and tropical climate are afftected by the equator that passing through Indonesia. In this case, early aging will haunted not only by skincare lovers but also the rest of  Indonesians including male and female. By so, we need to protect our skin using sun protector like sunscreen. Sunscreen application awareness through reviews by many different user probably are the most effective way to get to know the suitable sunscreen. By scrolling through the reviews surely will be time wasting. As of, sentiment analysis is the solution to classifying between negative and positive sentiments from the reviews. This research uses K-Nearest Neighbor (K-NN) algorithm as classification method because this method way more easy and efficient to use by its self learning, thus K-NN can learned its own data through its neighbor. Particle Swarm Optimization is used to increasing the accuration. Evaluation method using Confusion Matrix and the results are accuracy, precision and recall. Classification result using only k-NN and optimized with PSO are getting increase. Brand ‘Azarine’ rank the first accuration value with 91,89% using k-NN and 92,80% using k-NN PSO.

Downloads

Download data is not yet available.

References

E. Fadilah Mumtazah et al., “Pengetahuan Mengenai Sunscreen Dan Bahaya Paparan Sinar Matahari Serta Perilaku Mahasiswa Teknik Sipil Terhadap Penggunaan Sunscreen,” J. Farm. Komunitas, vol. 7, no. 2, pp. 63–68, 2020.

S. H. Isfardiyana and S. R. Safitri, “Pentingnya melindungi kulit dari sinar ultraviolet dan cara melindungi kulit dengan sunblock buatan sendiri,” J. Inov. dan Kewirausahaan, vol. 3, no. 2, pp. 126–133, 2014.

N. F. Andriani and A. H. Setiawan, “Faktor Berhubungan Konsumen Terhadap Penggunaan Produk Skincare,” Diponegoro J. Kesehat., vol. 9, no. 4, pp. 1–8, 2020, [Online]. Available: https://ejournal3.undip.ac.id/index.php/jme/article/view/29050.

S. V. M. Classifier, N. F. Putri, S. Al Faraby, and M. Dwifebri, “Analisis Sentimen Pada Produk Kecantikan Dari Ulasan Female Daily Menggunakan Information Gain Dan Svm Classifier,” e-Proceeding of Enginering, vol. 8, no. 5, pp. 10068–10079, 2021.

amaliyah gian f riszki wijayatun pratiwi, sharfina febbi h, dairoh, dwi intan af’idah, qirani rifa a, “analisis sentimen pada review skincare female daily menggunakan metode support vector machine,” J. informatics, Inf. Syst. Softw. Eng. Appl., vol. 1, no. sentiment analysis, 2021.

C. H. Yutika, A. Adiwijaya, and S. Al Faraby, “Analisis Sentimen Berbasis Aspek pada Review Female Daily Menggunakan TF-IDF dan Naïve Bayes,” J. Media Inform. Budidarma, vol. 5, no. 2, p. 422, 2021, doi: 10.30865/mib.v5i2.2845.

R. Syafaat Amardita and M. Dwifebri Purbolaksono, “Analisis Sentimen terhadap Ulasan Paris Van Java Resort Lifestyle Place di Kota Bandung Menggunakan Algoritma KNN,” J. Ris. Komput., vol. 9, no. 1, pp. 2407–389, 2022, doi: 10.30865/jurikom.v9i1.3793.

H. Nurrun Muchammad Shiddieqy, S. Paulus Insap, and W. Wing Wahyu, “Studi Literatur Tentang Perbandingan Metode Untuk Proses Analisis Sentimen Di Twitter,” Semin. Nas. Teknol. Inf. dan Komun., no. February, pp. 57–64, 2016.

A. Firdaus and W. I. Firdaus, “Text Mining Dan Pola Algoritma Dalam Penyelesaian Masalah Informasi : (Sebuah Ulasan),” J. JUPITER, vol. 13, no. 1, p. 66, 2021.

I. T. Julianto, D. Kurniadi, M. R. Nashrulloh, and A. Mulyani, “COMPARISON OF CLASSIFICATION ALGORITHM AND FEATURE SELECTION IN PERBANDINGAN ALGORITMA KLASIFIKASI DAN FEATURE SELECTION,” J. Tek. Inform., vol. 3, no. 3, pp. 739–744, 2022.

A. Muzaki and A. Witanti, “Sentiment Analysis of the Community in the Twitter To the 2020 Election in Pandemic Covid-19 By Method Naive Bayes Classifier,” J. Tek. Inform., vol. 2, no. 2, pp. 101–107, 2021, doi: 10.20884/1.jutif.2021.2.2.51.

A. Yoga Pratama et al., “Analisis Sentimen Media Sosial Twitter Dengan Algoritma K-Nearest Neighbor Dan Seleksi Fitur Chi-Square (Kasus Omnibus Law Cipta Kerja),” J. Sains Komput. Inform., vol. 5, no. 2, pp. 897–910, 2021.

T. Setiyorini, ; Rizky, and T. Asmono, “Implementation of K-Nearest Neighbor and Gini Index Method in Classification of Student Performance,” Techno Nusa Mandiri J. Comput. Inf. Technol., vol. 16, no. 2, pp. 121–126, 2019, [Online]. Available: https://ejournal.nusamandiri.ac.id/index.php/techno/article/view/747.

R. Samuel, R. Natan, and U. Syafiqoh, “Penerapan Cosine Similarity dan K-Nearest Neighbor ( K-NN ) pada Klasifikasi dan Pencarian Buku,” J. Big Data Anal. Artif. Intell., vol. 1, no. 1, pp. 9–14, 2018.

A. Taufik, “Optimasi Particle Swarm Optimization Sebagai Seleksi Fitur Pada Analisis Sentimen Review Hotel Berbahasa Indonesia Menggunakan Algoritma Naïve Bayes,” J. Tek. Komput., vol. III, no. 2, pp. 40–47, 2017.

S. Sudianto, P. Wahyuningtias, H. W. Utami, U. A. Raihan, and H. N. Hanifah, “Comparison Of Random Forest And Support Vector Machine Methods On Twitter Sentiment Analysis ( Case Study : Internet Selebgram Rachel Vennya Escape From Quarantine ) Perbandingan Metode Random Forest Dan Support Vector Machine Pada Analisis Sentimen Twitt,” J. Tek. Inform., vol. 3, no. 1, pp. 141–145, 2022

Published
2022-12-26
How to Cite
[1]
A. N. S. Rahayu, T. I. Hermanto, and I. M. Nugroho, “SENTIMENT ANALYSIS USING K-NEAREST NEIGHBOR BASED ON PARTICLE SWARM OPTIMIZATION ACCORDING TO SUNSCREEN’S REVIEWS”, J. Tek. Inform. (JUTIF), vol. 3, no. 6, pp. 1639-1646, Dec. 2022.