Evaluasi Performa Naïve Bayes dan CART pada Klasifikasi Kualitas Tahu
This Abstract has been read 30 times
Abstract
To remain competitive in the global market, tofu producers must ensure consistent product quality. Sumber Barokah Tofu Factory, a longstanding supplier of high-nutrient tofu, faces challenges in maintaining quality throughout the production process. This study compares the performance of Naïve Bayes and Classification and Regression Trees (CART) algorithms in classifying tofu quality using a dataset collected from a factory, which contains both high-quality and low-quality tofu samples. The research methodology encompasses problem identification, data collection, preprocessing, classification, validation, evaluation, and conclusion. Cross-validation was employed for model validation, and confusion matrices were utilised to assess precision, recall, and F1-score. Experimental results indicate that Naïve Bayes achieved an Accruracy of 91%, precision of 100%, recall of 85%, and F1-score of 92%, while CART achieved an Accruracy of 86%, precision of 70%, recall of 100%, and F1-score of 82%. These results suggest that Naïve Bayes is more suitable for classifying tofu quality in this context.
Keywords: Naïve Bayes, CART, Tofu Quality Classification, Cross-Validation
CITATIONS
PDF Downloads
Metrics
References
H. Azis and S. R. Jabir, “Chemical Composition and Aroma Profiling: Decision Tree Modeling of Formalin Tofu,” J. Embed. Syst. Secur. Intell. Syst., pp. 206–211, Nov. 2023, doi: 10.59562/jessi.v4i2.1162.
Z. Huang et al., “Evaluating the effect of different processing methods on fermented soybean whey-based tofu quality, nutrition, and flavour,” LWT, vol. 158, p. 113139, Mar. 2022, doi: 10.1016/j.lwt.2022.113139.
M. Herrmann, E. Mehner, L. Egger, R. Portmann, L. Hammer, and T. Nemecek, “A comparative nutritional life cycle assessment of processed and unprocessed soy-based meat and milk alternatives including protein quality adjustment,” Front. Sustain. Food Syst., vol. 8, Jun. 2024, doi: 10.3389/fsufs.2024.1413802.
F. Ali, K. Tian, and Z.-X. Wang, “Modern techniques efficacy on tofu processing: A review,” Trends Food Sci. Technol., vol. 116, pp. 766–785, Oct. 2021, doi: 10.1016/j.tifs.2021.07.023.
B. Phatcharathada and P. Srisuradetchai, “Randomized Feature and Bootstrapped Naive Bayes Classification,” Appl. Syst. Innov., vol. 8, no. 4, p. 94, Jul. 2025, doi: 10.3390/asi8040094.
A. Malik, B. Ram, D. Arumugam, Z. Jin, X. Sun, and M. Xu, “Predicting gypsum tofu quality from soybean seeds using hyperspectral imaging and machine learning,” Food Control, vol. 160, p. 110357, Jun. 2024, doi: 10.1016/j.foodcont.2024.110357.
N. Zhang, E. Zhang, and F. Li, “A Soybean Classification Method Based on Data Balance and Deep Learning,” Appl. Sci., vol. 13, no. 11, p. 6425, May 2023, doi: 10.3390/app13116425.
D. C. Wickramarachchi, B. L. Robertson, M. Reale, C. J. Price, and J. Brown, “HHCART: An Oblique Decision Tree,” Apr. 2015, [Online]. Available: http://arxiv.org/abs/1504.03415.
R. Blanquero, E. Carrizosa, C. Molero-Río, and D. R. Morales, “Optimal randomized classification trees,” Oct. 2021, doi: 10.1016/j.cor.2021.105281.
C. A. Döttinger et al., “Unravelling the genetic architecture of soybean tofu quality traits,” Mol. Breed., vol. 45, no. 1, p. 8, Jan. 2025, doi: 10.1007/s11032-024-01529-x.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Luthfy Akmal Nugraha, Jupriyanto Jupriyanto, Haris Nizhomul Haq, Anderias Eko Wijaya
This work is licensed under a Creative Commons Attribution 4.0 International License.
Luthfy Akmal Nugraha
Universitas Mandiri




