Tomatoes are one of the most widely cultivated and consumed crops, but they are highly susceptible to disease attacks. The main diseases that often attack tomato plants are early blight and late blight. This study compares two machine learning-based classification methods, namely Convolutional Neural Network (CNN) and Naïve Bayes, in detecting tomato leaf diseases. The dataset used consists of 1,255 images obtained from Kaggle, which have been processed and divided into three data ratio scenarios (70:30, 80:20, and 90:10) for training and testing. The results showed that CNN is superior to Naïve Bayes, with the highest accuracy reaching 83.01%, while Naïve Bayes only achieved 34%. With better stability and accuracy, CNN has the potential to help farmers detect diseases more quickly and increase agricultural productivity
Copyrights © 2025