Sentiment analysis of comments on youtube on react native vs flutter using the support vector machine and naïve bayes classifier algorithm
Main Article Content
Abstract
The study analyzed the sentiment of YouTube comments about React Native and Flutter, two popular platforms in cross-platform mobile app development, using the algorithms of Support Vector Machine and Naïve Bayes Classifier. The data was collected through YouTube comment scraping and analyzed using Google Colab with preprocessing techniques such as case folding, text cleaning, stopword removal, and stemming. Frequency-Inverse Term Document Frequency (TF-IDF) is used to extract features. The results showed that SVM was more effective in classifying positive and neutral sentiments, while NBC was superior in positive sentiment. Both algorithms have difficulty identifying negative sentiment, especially with the dominance of positive sentiment data. The study suggests the use of advanced strategies such as better feature selection or ensemble learning to improve the accuracy of sentiment classification on social media.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
T.-M. Grønli, J. Hansen, G. Ghinea, and M. Younas, “Mobile Application Platform Heterogeneity: Android vs Windows Phone vs iOS vs Firefox OS,” in 2014 IEEE 28th International Conference on Advanced Information Networking and Applications, 2014, pp. 635–641. doi: 10.1109/AINA.2014.78.
H. Heitkötter, T. A. Majchrzak, and H. Kuchen, Cross-platform model-driven development of mobile applications with MD 2. 2013. doi: 10.1145/2480362.2480464.
C. Rieger and T. A. Majchrzak, “Towards the definitive evaluation framework for cross-platform app development approaches,” J. Syst. Softw., vol. 153, pp. 175–199, 2019, doi: 10.1016/j.jss.2019.04.001.
A. Biørn-Hansen, C. Rieger, T. M. Grønli, T. A. Majchrzak, and G. Ghinea, “An empirical investigation of performance overhead in cross-platform mobile development frameworks,” Empir. Softw. Eng., vol. 25, no. 4, pp. 2997–3040, 2020, doi: 10.1007/s10664-020-09827-6.
A. J. Irawan, F. A. T. Tobing, and E. E. Surbakti, “Implementation of Gamification Octalysis Method at Design and Build a React Native Framework Learning Application,” in 2021 6th International Conference on New Media Studies (CONMEDIA), 2021, pp. 118–123. doi: 10.1109/CONMEDIA53104.2021.9617171.
W. Wu, “React Native vs Flutter , cross-platform mobile application frameworks,” no. March, 2018.
S. Santoso, D. J. Surjawan, and E. D. Handoyo, “Pengembangan Sistem Informasi Tukar Barang Untuk Pemanfaatan Barang Tidak Terpakai dengan Flutter Framework,” J. Tek. Inform. dan Sist. Inf., vol. 6, no. 3, pp. 589–598, 2020, doi: 10.28932/jutisi.v6i3.3071.
M. B. Sinatria, Oman Komarudin, and Kamal Prihamdani, “Penerapan Clean Architecture Dalam Membangun Aplikasi Berbasis Mobile Dengan Framework Google Flutter,” INFOTECH J., vol. 9, no. 1, pp. 132–146, 2023, doi: 10.31949/infotech.v9i1.5237.
W. Osman, F. Mohamed, M. Elhassan, and A. Shoufan, “Is YouTube a reliable source of health-related information? A systematic review,” BMC Med. Educ., vol. 22, no. 1, pp. 1–12, 2022, doi: 10.1186/s12909-022-03446-z.
M. R. Elfansyah and M. R. Perdana, “Analisis Sentiment Cyberbullying pada media Youtube menggunakan Algoritma Naïve Bayes,” 2024.
S. S. Khan, “Soft computing- a journey from statistics,” Int. J. Theor. Appl. Sci., vol. 9, no. 2, pp. 260–268, 2017.
A. S. Aribowo, H. T. Jaya, U. Pembangunan, and N. Veteran, “An Evaluation of Preprocessing Steps and Tree-based Ensemble Machine Learning for Analysing Sentiment on Indonesian YouTube Comments,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 9, no. 5, pp. 7078–7086, 2020, doi: 10.30534/ijatcse/2020/29952020.
D. Alita and A. R. Isnain, “Pendeteksian Sarkasme pada Proses Analisis Sentimen Menggunakan Random Forest Classifier,” J. Komputasi, vol. 8, no. 2, pp. 50–58, 2020, doi: 10.23960/komputasi.v8i2.2615.
A. P. Wibawa, M. G. A. Purnama, M. F. Akbar, and F. A. Dwiyanto, “Metode-metode Klasifikasi,” Pros. Semin. Ilmu Komput. dan Teknol. Inf., vol. 3, no. 1, p. 134, 2018.
D. Kaur, R. Bedi, and S. K. Gupta, “Review of Decision Tree Data mining Algorithms: ID3 and C4.5,” Proceeding Int. Conf. Inf. Technol. Comput. Sci., vol. 8, no. 4, pp. 4–8, 2015.
D. Valkenborg, M. Geubbelmans, A. J. Rousseau, and T. Burzykowski, “Supervised learning,” Am. J. Orthod. Dentofac. Orthop., vol. 164, no. 1, pp. 146–149, 2023, doi: 10.1016/j.ajodo.2023.04.010.
L. Mohan, J. Pant, P. Suyal, and A. Kumar, “Support Vector Machine Accuracy Improvement with Classification,” in 2020 12th International Conference on Computational Intelligence and Communication Networks (CICN), 2020, pp. 477–481. doi: 10.1109/CICN49253.2020.9242572.
K. A. Rokhman, B. Berlilana, and P. Arsi, “Perbandingan Metode Support Vector Machine Dan Decision Tree Untuk Analisis Sentimen Review Komentar Pada Aplikasi Transportasi Online,” J. Inf. Syst. Manag., vol. 3, no. 1, pp. 1–7, 2021, doi: 10.24076/joism.2021v3i1.341.
R. Sonmez and B. SÖzgen, “A support vector machine method for bid/no bid decision making,” J. Civ. Eng. Manag., vol. 23, pp. 641–649, May 2017, doi: 10.3846/13923730.2017.1281836.
R. A. Roni Anagora, R. Rudini, R. T. Rohmat Taufiq, A. D. J. Ahmad Dedi Jubaedi, R. W. Rio Wirawan, and Arman Syah Putra, “The Classification of Phishing Websites using Naive Bayes Classifier Algorithm,” Int. J. Sci. Technol. Manag., vol. 3, no. 2, pp. 553–562, 2022, doi: 10.46729/ijstm.v3i2.498.
S. N Sneha and T. Gangil, “Analysis of diabetes mellitus for early prediction using optimal features selection,” J. Big Data, vol. 6, Feb. 2019, doi: 10.1186/s40537-019-0175-6.
K. Saputra, “Perbandingan Kinerja Fungsi Kernel Algoritma Support Vector Machine Pada Klasifikasi Penyakit Padi,” Ijccs, vol. x, No.x, no. x, pp. 1–5, 2023.
A. Torayev and C. Monroe, “Role of Discharge-Product Morphology and Formation Rates in Li–O 2 Battery Performance,” ECS Meet. Abstr., vol. MA2020-02, p. 490, Nov. 2020, doi: 10.1149/MA2020-022490mtgabs.
D. Mustikasari, I. Widaningrum, R. Arifin, and W. H. E. Putri, “Comparison of Effectiveness of Stemming Algorithms in Indonesian Documents,” Proc. 2nd Borobudur Int. Symp. Sci. Technol. (BIS-STE 2020), vol. 203, pp. 154–158, 2021, doi: 10.2991/aer.k.210810.025.
P. Prihatini, K. Indah, G. Sukerti, I. Indrayana, and I. Sudiartha, “Feature Extraction Performance on Classified Methods for Text Sentiment Analysis,” pp. 1235–1243, 2023, doi: 10.5220/0010962900003260.
M. Jamil, H. Hadiyanto, and R. Sanjaya, “Sentiment Analysis: Classifying Public Comments on YouTube in Disaster Management Simulation in Indonesia Using Naïve Bayes and Support Vector Machine,” Ing. des Syst. d’Information, vol. 29, no. 2, pp. 437–446, 2024, doi: 10.18280/isi.290205.