Research Article

Classification of cherry maturity stages using machine learning methods

Volume: 10 Number: 1 February 15, 2026

Classification of cherry maturity stages using machine learning methods

Abstract

Accurate and rapid determination of the maturity level of agricultural products is of great importance for identifying the appropriate harvest time, preserving product quality, and minimizing economic losses. In particular, in fruits with high export potential such as cherries, determining the maturity stage accurately is a critical process for both producers and consumers. In this study, a machine learning-based method is proposed for classifying different maturity stages of cherries. Within the scope of the study, cherries belonging to five different maturity stages were collected from cherry orchards in Elazığ province, and a total of 3000 high-resolution images were obtained. The images were subjected to preprocessing steps, followed by feature extraction, and a dataset was constructed for classification. Ten different machine learning algorithms were employed in the experiments. These algorithms include Support Vector Machines (SVM), Linear Discriminant Analysis (LDA), XGBoost, Logistic Regression, Ridge Classifier, LightGBM, CatBoost, Random Forest, Extra Trees, and K-Nearest Neighbors (KNN). The models were evaluated both without optimization and with an Optuna-based optimization process. Experimental findings demonstrated that optimization significantly improved classification performance. Among the models, the SVM achieved the highest accuracy rate compared to the others. The accuracy value obtained without optimization was 93.33%, while this value increased to 95.16% after optimization. In addition, other machine learning methods also achieved high accuracy rates, and in particular, some models showed a significant improvement in classification success after optimization. The results indicate that machine learning-based approaches are highly effective in classifying cherry maturity stages. These methods are considered to contribute to the improvement of quality control, harvest planning, and the development of intelligent decision support systems in agricultural production. Furthermore, the findings of this study are expected to shed light on future research to be conducted on different fruit types and to support digitalization processes in agricultural production.

Keywords

Artificial intelligence, machine learning, image processing, data fusion, precision agriculture

Supporting Institution

Fırat University and TUBİTAK

Project Number

This research was supported by the Scientific Research Projects Unit of Fırat University (Project No: MF.24.88) and by TUBİTAK under Project No: 123O399

Ethical Statement

Ethical approval was not required for this study.

Thanks

The authors would like to thank the Scientific Research Projects Unit of Fırat University and TUBİTAK for their financial support.

References

  1. Ahsan, M. M., Mahmud, M. P., Saha, P. K., Gupta, K. D., & Siddique, Z. (2021). Effect of data scaling methods on machine learning algorithms and model performance. Technologies, 9(3), 52. https://doi.org/10.3390/technologies9030052
  2. Bilal, M., Ali, G., Iqbal, M. W., Anwar, M., Malik, M. S. A., & Kadir, R. A. (2022). Auto-prep: efficient and automated data preprocessing pipeline. IEEE Access, 10, 107764-107784. https://doi.org/10.1109/ACCESS.2022.3198662
  3. Büyükarıkan, B., & Ülker, E. (2020). Aydınlatma özniteliği kullanılarak evrişimsel sinir ağı modelleri ile meyve sınıflandirma. Uludağ Üniversitesi Mühendislik Fakültesi Dergisi, 25(1), 81-100. https://doi.org/10.17482/uumfd.628166
  4. Çakmakçi, Y., Hurma, H., & Çakmakçi, C. (2024). Determination of Consumer Perceptions of Eco-Friendly Food Products Using Unsupervised Machine Learning. Journal of Tekirdag Agricultural Faculty, 21(3). https://doi.org/10.33462/jotaf.1319077
  5. Cui, J., Zhang, L., Gao, L., Bai, C., & Yang, L. (2025). Cherry-Net: real-time segmentation algorithm of cherry maturity based on improved PIDNet. Frontiers in Plant Science, 16, 1607205. https://doi.org/10.3389/fpls.2025.1607205
  6. De Amorim, L. B., Cavalcanti, G. D., & Cruz, R. M. (2023). The choice of scaling technique matters for classification performance. Applied Soft Computing, 133, 109924. https://doi.org/10.1016/j.asoc.2022.109924
  7. Demir, Ü., Kula, N., & Uğurlu, B. (2021). Tarımda Yapay Zekâ Kullanımına Yönelik Karar Destek Modeli Önerisi: Domates Zararlısı Tespiti Örneği. Lapseki Meslek Yüksekokulu Uygulamalı Araştırmalar Dergisi, 2(4), 91-108.
  8. Gadalla, O. A. A., Öztekin, Y. B. & Baitu, G. P. (2022). Application of computer vision and image processing technology in agro-product quality control-review. Tarım Makinaları Bilimi Dergisi, 18(2): 105-113.
  9. İncekara, H. & Selek, M. (2020). Görüntü işleme yöntemleri kullanılarak kiraz meyvesinin sınıflandırılması. Avrupa Bilim ve Teknoloji Dergisi, (XX): 108-112. https://doi.org/10.31590/ejosat.801942
  10. Kayaalp, K. (2024). A deep ensemble learning method for cherry classification. European Food Research and Technology, 250(5): 1513-1528. https://doi.org/10.1007/s00217-024-04490-3
APA
Doğan, N., Özyurt, F., & Özgen, İ. (2026). Classification of cherry maturity stages using machine learning methods. International Journal of Agriculture Environment and Food Sciences, 10(1), 1-13. https://doi.org/10.31015/jaefs.2026.1.1
AMA
1.Doğan N, Özyurt F, Özgen İ. Classification of cherry maturity stages using machine learning methods. int. j. agric. environ. food sci. 2026;10(1):1-13. doi:10.31015/jaefs.2026.1.1
Chicago
Doğan, Nurullah, Fatih Özyurt, and İnanç Özgen. 2026. “Classification of Cherry Maturity Stages Using Machine Learning Methods”. International Journal of Agriculture Environment and Food Sciences 10 (1): 1-13. https://doi.org/10.31015/jaefs.2026.1.1.
EndNote
Doğan N, Özyurt F, Özgen İ (March 1, 2026) Classification of cherry maturity stages using machine learning methods. International Journal of Agriculture Environment and Food Sciences 10 1 1–13.
IEEE
[1]N. Doğan, F. Özyurt, and İ. Özgen, “Classification of cherry maturity stages using machine learning methods”, int. j. agric. environ. food sci., vol. 10, no. 1, pp. 1–13, Mar. 2026, doi: 10.31015/jaefs.2026.1.1.
ISNAD
Doğan, Nurullah - Özyurt, Fatih - Özgen, İnanç. “Classification of Cherry Maturity Stages Using Machine Learning Methods”. International Journal of Agriculture Environment and Food Sciences 10/1 (March 1, 2026): 1-13. https://doi.org/10.31015/jaefs.2026.1.1.
JAMA
1.Doğan N, Özyurt F, Özgen İ. Classification of cherry maturity stages using machine learning methods. int. j. agric. environ. food sci. 2026;10:1–13.
MLA
Doğan, Nurullah, et al. “Classification of Cherry Maturity Stages Using Machine Learning Methods”. International Journal of Agriculture Environment and Food Sciences, vol. 10, no. 1, Mar. 2026, pp. 1-13, doi:10.31015/jaefs.2026.1.1.
Vancouver
1.Nurullah Doğan, Fatih Özyurt, İnanç Özgen. Classification of cherry maturity stages using machine learning methods. int. j. agric. environ. food sci. 2026 Mar. 1;10(1):1-13. doi:10.31015/jaefs.2026.1.1