Sentiment Analysis of Snack Review Using the Naïve Bayes Method

2020 ◽  
Vol 8 (3) ◽  
pp. 333
Author(s):  
I Gede Cahya Purnama Yasa ◽  
Ngurah Agus Sanjaya ER ◽  
Luh Arida Ayu Rahning Putri

Fast food is a product that we often encounter in stores such as convenience stores. Ready-to-eat products can now be easily found by consumers. One of the reason is due to the expansion of minimarkets in areas that are easily reached, such as housing complexes, school areas, and offices. Sentiment analysis is used to determine whether an opinion or comment on a product has a positive or negative interest and can be used as a reference in improving service, or improving product quality. In this research, we study the sentiments of consumers towards snack food products as a reference to improve the level of service and quality of these products.. We classify the sentiment of a review on snack food products as positive and negative. To classify the sentiments we apply the Naïve Bayes and Multinomial Naïve Bayes methods. We compare the two methods to study the most effective and efficient method for classifying sentiments on reviews of snack food products. Keywords: Sentiment Analysis, TF-IDF, Naïve Bayes,Multinomial, Review, Snack, Preprocessing

2018 ◽  
Vol 5 (2) ◽  
pp. 60-67 ◽  
Author(s):  
Dwi Yulianto ◽  
Retno Nugroho Whidhiasih ◽  
Maimunah Maimunah

ABSTRACT   Banana fruit is a commodity that contributes a great value to both national and international fruit production achievement. The government through the National Standardization Agency establishes standards to maintain the quality of bananas. The purpose of this Project is to classify the stages of maturity of Ambon banana base on the color index using Naïve Bayes method in accordance with the regulations of SNI 7422:2009. Naive Bayes is used as a method in the classification process by comparing the probability values generated from the variable value of each model to determine the stage of Ambon banana maturity. The data used is the primary data image of 105 pieces of Ambon banana. By using 3 models which consists of different variables obtained the same greatest average accuracy by using the 2nd model which has 9 variable values (r, g, b, v, * a, * b, entropy, energy, and homogeneity) and the 3rd model has 7 variable values (r, g, b, v , * a, entropy and homogeneity) that is 90.48%.   Keywords: banana maturity, classification, image processing     ABSTRAK   Buah pisang merupakan komoditas yang memberikan kontribusi besar terhadap angka produksi buah nasional maupun internasional. Pemerintah melalui Badan Standarisasi Nasional menetapkan standar untuk buah pisang, menjaga mutu  buah pisang. Tujuan dari penelitian ini adalah klasifikasi tahapan kematangan dari buah pisang ambon berdasarkan indeks warna menggunakan metode Naïve Bayes  sesuai dengan SNI 7422:2009. Naive bayes digunakan sebagai metode dalam proses pengklasifikasian dengan cara membandingkan nilai probabilitas yang dihasilkan dari nilai variabel penduga setiap model untuk menentukan tahap kematangan pisang ambon. Data yang digunakan adalah data primer citra pisang ambon sebanyak 105. Dengan menggunakan 3 buah model yang terdiri dari variabel penduga yang berbeda didapatkan akurasi rata-rata terbesar yang sama yaitu dengan menggunakan model ke-2 yang mempunyai 9 nilai variabel (r, g, b, v, *a, *b, entropi, energi, dan homogenitas) dan model ke-3 yang mempunyai 7 nilai variabel (r, g, b, v, *a, entropi dan homogenitas) yaitu sebesar 90.48%.   Kata Kunci : kematangan pisang,  klasifikasi, pengolahan citra


2021 ◽  
Vol 3 (2) ◽  
pp. 107-113
Author(s):  
Kartarina Kartarina ◽  
Ni Ketut Sriwinarti ◽  
Ni luh Putu Juniarti

In this research the author aims to apply the K-NN and Naive Bayes algorithms for predicting student graduation rates at Sekolah Tinggi Pariwisata (STP) Mataram, The comparison of these two methods was carried out because based on several previous studies it was found that K-NN and Naive Bayes are well-known classification methods with a good level of accuracy. But which one has a better accuracy rate than the two algorithms, that's what researchers are trying to do. The output of this application is in the form of information on the prediction of student graduation, whether to graduate on time or not on time. The selection of STP as the research location was carried out because of the imbalance between the entry and exit of students who had completed their studies. Students who enter have a large number, but students who graduate on time according to the provisions are far very small, resulting in accumulation of the high number of students in each period of graduation, so it takes the initial predictions to quickly overcome these problems. Based on the results of designing, implementing, testing, and testing the Student Graduation Prediction Application program using the K-NN and Naive Bayes Methods with the Cross Validation method, the result is an accuracy for the K-NN method of 96.18% and for the Naive Bayes method an accuracy of 91.94% with using the RapideMiner accuracy test. So based on the results of the two tests between the K-NN and Naive Bayes methods which produce the highest accuracy, namely the K-NN method with an accuracy of 96.18%. So it can be concluded that the K-NN method is more feasible to use to predict student graduation


2020 ◽  
Vol 1641 ◽  
pp. 012093
Author(s):  
M Tika Adilah ◽  
Hendra Supendar ◽  
Rahayu Ningsih ◽  
Sri Muryani ◽  
Kusmayanti Solecha

2020 ◽  
Vol 7 (3) ◽  
pp. 599
Author(s):  
Arif Bijaksana Putra Negara ◽  
Hafiz Muhardi ◽  
Indira Melinda Putri

<p class="Abstrak">Zaman sekarang tren masyarakat untuk memesan tiket pesawat sudah melalui situs-situs <em>booking</em> <em>online</em>. Pegipegi.com merupakan salah satu <em>website</em> yang menyediakan pemesanan tiket dan menyediakan fitur ulasan bagi pengunjung untuk menyampaikan opini. Pengunjung lain yang membaca ulasan-ulasan tersebut dapat memperoleh gambaran secara lebih objektif mengenai maskapai penerbangan. Ulasan pengguna yang terdapat pada website pegipegi.com saat ini sudah sangat banyak sehingga hal ini menyulitkan dan memakan waktu untuk membaca secara keseluruhan. Oleh karena itu dirancang analisis sentimen guna membantu mengklasifikasi ulasan kedalam kategori positif atau negatif sehingga dapat memberikan rekomendasi maskapai penerbangan berdasarkan jumlah kategori ulasan. Metode yang diterapkan untuk klasifikasi sentimen adalah Naïve Bayes dengan seleksi fitur <em>Information Gain</em>. Adapun tujuan dari penelitian ini adalah mengetahui pengaruh dari pemilihan fitur <em>Information Gain</em> terhadap akurasi klasifikasi dan membuktikan bahwa metode Naïve Bayes dengan <em>Information Gain</em> dapat digunakan untuk klasifikasi analisis sentimen. Hasil pengujian yang telah dilakukan menunjukkan bahwa nilai rata-rata akurasi, <em>precision</em>, <em>recall</em> setelah penambahan <em>Information Gain</em> menunjukkan hasil yang lebih baik sebesar 0,865 jika dibandingkan sebelum penambahan information gain yakni sebesar 0,81.</p><p class="Abstrak"> </p><p class="Abstrak"><em><strong>Abstract</strong></em></p><p class="Abstrak"><em><em>Nowadays people tend to order airplane tickets through online booking sites. Pegipegi.com is a website that provides ticket reservations and a review section for visitors to express their opinions. Other visitors who read the reviews can get a more objective picture of airlines. The user reviews contained on the pegipegi.com website are currently very large so this makes it difficult and time consuming to read in its entirety. Therefore sentiment analysis is designed to help classify reviews into positive or negative categories so that they can provide airline recommendations based on the number of review categories. The method applied for sentiment classification is Naïve Bayes with the Information Gain feature selection. The purpose of this study was to determine the effect of selecting the Information Gain feature on classification accuracy and prove that the Naïve Bayes method with Information Gain can be used for the classification of sentiment analysis. The results of the tests that have been done show that the average value of accuracy, precision, recall after adding Information Gain shows better results of 0.865 compared to the addition of information gain which is equal to 0.81</em>.</em></p>


2021 ◽  
Vol 5 (2) ◽  
pp. 153-163
Author(s):  
Herlawati Herlawati ◽  
Rahmadya Trias Handayanto ◽  
Prima Dina Atika ◽  
Fata Nidaul Khasanah ◽  
Ajif Yunizar Pratama Yusuf ◽  
...  

 Tourism is the sources of income which is influenced by customer satisfaction. One way to know customer satisfaction is feedback, one of which is a review using an application. One of the feedback applications is Google Review. Such applications are have been widely used, for example in this study in this case study, Summarecon Mal Bekasi, can reach 60,000 comments. To find out the sentiment of the large number of comments, it is necessary to use computational tools. The current research applies sentiment analysis using the Naïve Bayes method and the Support Vector Machine. Data retrieval is done by web scrapping technique. Furthermore, the comment data is processed by pre-processing and labelling using the Lexicon dictionary. The process of applying sentiment analysis is carried out to determine whether the comments are positive or negative. In this study, the accuracy of the Naïve Bayes and Support Vector Machine methods in conducting sentiment analysis on the Summarecon Mal Bekasi review with a data of 2,143 comments with an accuracy for Naïve Bayes and Support Vector Machine 80.95% and 100% respectively. A Jason-style application is built to show the implementation in Flask framework.   Keywords:


Author(s):  
I Guna Adi Socrates ◽  
Afrizal Laksita Akbar ◽  
Mohammad Sonhaji Akbar ◽  
Agus Zainal Arifin ◽  
Darlis Herumurti

Naïve Bayes is one of data mining methods that are commonly used in text-based document classification. The advantage of this method is a simple algorithm with low computation complexity. However, there is weaknesses on Naïve Bayes methods where independence of Naïve Bayes features can’t be always implemented that would affect the accuracy of the calculation. Therefore, Naïve Bayes methods need to be optimized by assigning weights using Gain Ratio on its features. However, assigning weights on Naïve Bayes’s features cause problems in calculating the probability of each document which is caused by there are many features in the document that not represent the tested class. Therefore, the weighting Naïve Bayes is still not optimal. This paper proposes optimization of Naïve Bayes method using weighted by Gain Ratio and feature selection method in the case of text classification. Results of this study pointed-out that Naïve Bayes optimization using feature selection and weighting produces accuracy of 94%.


The use of computers to solve problems has been done for all areas of work. Along with this, demanded faster computing process. To perform sentiment analysis of data obtained from the internet. Data taken from micro-blogging which at this time became the most popular communication tool and favored by internet users. The method used to construct the classification model of training data in this research is Naive Bayes Method. Training data is collected by utilizing the crontab facility with query emoticons and national media accounts linked to the Twitter API. The collected data will pass certain preprocessing before the training. The weighting feature used is the term frequency with TF-IDF. All data used in this research is a tweet that is delivered in Bahasa Indonesia. From the implementation results obtained 96.61% accuracy for sequential classification conducted using GPU GeForce 930M.


2020 ◽  
Vol 9 (2) ◽  
pp. 259
Author(s):  
Gede Putra Aditya Brahmantha ◽  
I Wayan Santiyasa

In addition to communicating, Social Media is a place to issue opinions by the public on many things that are currently taking place, Twitter is one of these social medias that is widely used in conveying opinions regardless of whether these opinions are negative, positive, or even neutral. Tweets data about the Enforcement of PSBB Part II in Jakarta were obtained as many as 200 opinions using web crawling then advanced to the preprocessing stage before being classified using the K-Nearest Neighbor and Multinomial Naive Bayes algorithms. In 3 tests, the highest accuracy was 65.00% for K-Nearest Neighbor and the highest accuracy was 85.00% for Multinomial Naive Bayes method.


Sign in / Sign up

Export Citation Format

Share Document