JOURNAL ARTICLE

Implementation of Naive Bayes Algorithm on Sentiment Analysis Application

MartitiChristina Juliane

Year: 2021 Journal:   Advances in engineering research/Advances in Engineering Research   Publisher: Atlantis Press

Abstract

Natural Language Processing (NLP) is one of the branches of artificial intelligence science where this branch science is the basis for developing sentiment analysis.The application in NLP in sentiment analysis includes Pre-processing text consisting of featured selection and tokenization.For the classification process, the determination of the algorithm is determined by comparing the results of the classification predictions of naïve Bayes, Weighted Instances, and Zero-R with the data that has been calculated for its frequency terms.The results of the testing analysis showed naïve Bayes had a stable accuracy after being tested with an accuracy value of 99.62% in the training data and 94% in the Testing Data, with an average classification failure of 0.13%.The results of the acquisition of words are used as a corpus for the construction of sentiment-level sentence analysis applications.The application development by the Naive Bayes algorithm was built using the PHP programming language and literary library.The method of application development using the waterfall starts from the analysis process to the application implementation.Based on testing the accuracy of 30 comments classified by the system, it produces an accuracy value of 86.66%.However, the accuracy of comments that have been classified as applications were retested using machine learning Weka which resulting in an accuracy value of 93.33%.The difference in accuracy is due to the Naive Bayes algorithm in utilizing the appearance of words to form a sentiment classification.

Keywords:
Naive Bayes classifier Computer science Bayes' theorem Sentiment analysis Algorithm Bayesian programming Artificial intelligence Machine learning Data mining Bayesian probability Bayes factor Support vector machine

Metrics

9
Cited By
1.13
FWCI (Field Weighted Citation Impact)
9
Refs
0.82
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems
Advanced Text Analysis Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Sentiment Analysis of Nanovest Investment Application Using Naive Bayes Algorithm

Lelianto Eko PradanaYova Ruldeviyani

Journal:   Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI) Year: 2023 Vol: 12 (2)Pages: 283-293
JOURNAL ARTICLE

Naive Bayes Algorithm for Sentiment Analysis on Twitter

K AgarshanaP KaranLeo Celestine SVasantha V Kumar

Journal:   2021 International Conference on System, Computation, Automation and Networking (ICSCAN) Year: 2021 Vol: 29 Pages: 1-4
JOURNAL ARTICLE

Sentiment Analysis Naive Bayes Method on SatuSehat Application

Shahmirul Hafizullah ImanuddinKusworo AdiRahmat Gernowo

Journal:   Jurnal Penelitian Pendidikan IPA Year: 2023 Vol: 9 (7)Pages: 5524-5531
JOURNAL ARTICLE

Application Of Naive Bayes Algorithm For Sentiment Analysis On Economic Recession Threat

Fajar Gilang Ramadhan Panggabeanan

Journal:   JITCoS Journal of Information Technology and Computer System Year: 2025 Vol: 1 (1)Pages: 25-32
© 2026 ScienceGate Book Chapters — All rights reserved.