Non-destructive determination of the physicochemical properties of melon (Cucumis melo var. Inodorus) using Visible Near-Infrared Reflectance Spectroscopy and machine learning models

Main Article Content

Khuriyati, N.
Sukartiko, A. C.
Ushada, M.
Kasih, A. N.

Abstract

Melon (Cucumis melo L.) is widely produced and consumed fruit globally. Traditionally, the quality of melon fruits is assessed through destructive testing, which can be both time-consuming and damaging to the fruit. To overcome this challenge, a study was undertaken to investigate non-destructive methods for evaluating the physicochemical quality of melons using Visible Near-infrared Reflectance (Vis-NIR) Spectroscopy. The study developed predictive models using Partial Least Square (PLS) and Random Forest (RF) techniques. The spectral data from 120 melons were non-destructively collected, while physicochemical properties, including fruit firmness, soluble solids content, and dry matter were determined through destructive testing. The data analysis was performed using Unscramber CAMO for PLS and Google Collab for RF. The RF analysis showed high reliability with R2 test values of 0.8697, 0.9012, 0.9183, and 0.9142 for the raw spectrum, multiplicative scatter correction, 1st derivative Savitsky-Golay, and De-Trending data pre-treatment, respectively in the simultaneous prediction of all physicochemical properties. The results revealed that RF provided more high-accuracy predictions compared to PLS. This use of Vis-NIR and RF in melon quality prediction contributes to more sustainable agricultural practices by reducing food waste, minimizing chemical and energy use, and supporting supply chain efficiency. This research is offered an innovative approach to improve the sustainability of the agricultural sector through non-destructive technologies that are fast, accurate, and environmentally friendly.

Article Details

How to Cite
Khuriyati, N., Sukartiko, A. C., Ushada, M., & Kasih, A. N. (2026). Non-destructive determination of the physicochemical properties of melon (Cucumis melo var. Inodorus) using Visible Near-Infrared Reflectance Spectroscopy and machine learning models. International Journal of Agricultural Technology, 22(6), 2687–2702. https://doi.org/10.63369/ijat.2026.22.6.2687-2702
Section
Original Study

References

Annisa, P. and Gustia, H. (2018). Respon Pertumbuhan dan Produksi Tanaman Melon Terhadap Pemberian Pupuk Organik Cair Tithonia diversifolia. Prosiding SEMNASTAN, pp.104-114.

Breiman, L. (2001). Random Forests. Machine Learning 45:5-32.

Bruning, B., Liu, H., Brien, C., Berger, B., Lewis, M. and Garnett, T. (2019). The Development of Hyperspectral Distribution Maps to Predict the Content and Distribution of Nitrogen and Water in Wheat (Triticum aestivum). Frontiers in Plant Science, 10:1-16.

Candan, Ç. and Inan, H. (2014). A unified framework for derivation and implementation of Savitzky-Golay filters. Signal Processing, 104:203-211.

Cen, H. and He, Y. (2007). Theory and application of near infrared reflectance spectroscopy in determination of food quality. Trends in Food Science and Technology, 18:72-83.

Chen, H., Song, Q., Tang, G., Feng, Q. and Lin, L. (2013). The Combined Optimization of Savitzky-Golay Smoothing and Multiplicative Scatter Correction for FT-NIR PLS Models. ISRN Spectroscopy, 1-9.

Corrêdo, L. de P., Maldaner, L. F., Bazame, H. C. and Molin, J. P. (2021). Evaluation of minimum preparation sampling strategies for sugarcane quality prediction by vis-nir spectroscopy. Sensors, 21:1-23.

Cortés, V., Blasco, J., Aleixos, N., Cubero, S. and Talens, P. (2019). Monitoring strategies for quality control of agricultural products using visible and near-infrared spectroscopy: A review. Trends in Food Science and Technology, 85:138-148.

Ding, C., Shi, S., Chen, J., Wei, W. and Tan, Z. (2016). Influence of surface curvature on lightbased nondestructive measurement of stone fruit. Computers and Electronics in Agriculture, 121:200-206.

Ghasemi, J. B. and Tavakoli, H. (2013). Application of random forest regression to spectral multivariate calibration. Analytical Methods, 5:1863-1871.

Gordillo-Delgado, F., Bedoya, A. and Marín, E. (2017). Study of the Pigments in Colombian Powdered Coffee Using Photoacoustic Spectroscopy. International Journal of Thermophysics, 38:1-8.

Guo, Z., Huang, W., Peng, Y., Chen, Q., Ouyang, Q. and Zhao, J. (2016). Color compensation and comparison of shortwave near infrared and long wave near infrared spectroscopy for determination of soluble solids content of “Fuji” apple. Postharvest Biology and Technology, 115:81-90.

Hwang, S. W., Chung, H., Lee, T., Kim, J., Kim, Y. J., Kim, J. C., Kwak, H. W., Choi, I. G. and Yeo, H. (2023). Feature importance measures from random forest regressor using nearinfrared spectra for predicting carbonization characteristics of kraft lignin-derived hydrochar. Journal of Wood Science, 69:1-12.

Jena, P. K., Rahaman, S. M., Mohapatra, P. K. Das, Barik, D. P. and Patra, D. S. (2023). Surface water quality assessment by Random Forest. Water Practice and Technology, 18:201-214.

Khoshnam, F., Namjoo, M. and Golbakhshi, H. (2015). Acoustic testing for melon fruit ripeness evaluation during different stages of ripening. Agriculturae Conspectus Scientificus, 80:197-204.

Khuriyati, N., Sukartiko, A. C., Falah, M. A. F. and Alfiani, R. N. (2023). Determination of Total Carotene and Vitamin C in Chili Powder (Capsicum annuum L.) Non-destructively Using Near-Infrared Spectroscopy. International Journal on Advanced Science, Engineering and Information Technology, 13:69-76.

Lim, J., Kim, G., Mo, C. and Kim, M. S. (2015). Design and fabrication of a real-time measurement system for the capsaicinoid content of Korean red pepper (Capsicum annuum L.) powder by visible and near-infrared spectroscopy. Sensors (Switzerland), 15:27420-27435.

Lu, R. and Peng, Y. (2006). Hyperspectral scattering for assessing peach fruit firmness. Biosystems Engineering, 93:161-171.

Merzlyak, M. N., Solovchenko, A. E. and Gitelson, A. A. (2003). Reflectance spectral features and non-destructive estimation of chlorophyll, carotenoid and anthocyanin content in apple fruit. Postharvest Biology and Technology, 27:197-211.

Mishra, S. P., Sarkar, U., Taraphder, S., Datta, S. and Swain, D. P. (2017). Multivariate Statistical Data Analysis- Principal Component Analysis (PCA). International Journal of Livestock Research, 7:60-78.

Montesinos López, O. A., Montesinos López, A. and Crossa, J. (2022). Overfitting, Model Tuning, and Evaluating of Prediction Performance. In: Multivariate Statistical Machine Learning Methods for Genomic Prediction, Mexico, Springer, pp.109-138.

Nawar, S. and Mouazen, A. (2017). Comparison between random forest and partial least squares regression of on-line vis-NIR spectroscopy measurement of soil total nitrogen. Towards Sustainable Agriculture and Biosystems Engineering, 109-130.

Nicolaï, B. M., Beullens, K., Bobelyn, E., Peirs, A., Saeys, W., Theron, K. I. and Lammertyn, J. (2007). Nondestructive measurement of fruit and vegetable quality by means of NIR spectroscopy: A review. Postharvest Biology and Technology, 46:99-118.

Peng, Z., Liu, G., Li, H., Wang, Y., Gao, H., Jemrić, T. and Fu, D. (2022). Molecular and Genetic Events Determining the Softening of Fleshy Fruits: A Comprehensive Review. International Journal of Molecular Sciences, 23.

Phey, O., Hashim, N. and Maringgal, B. (2020). Quality evaluation of mango using nondestructive approaches: A review. Journal of Agricultural and Food Engineering, 1:1-8.

Roger, J. M., Mallet, A. and Marini, F. (2022). Preprocessing NIR Spectra for Aquaphotomics. Molecules, 27:1-18.

Romano, G., Nagle, M., Argyropoulos, D. and Müller, J. (2011). Laser light backscattering to monitor moisture content, soluble solid content and hardness of apple tissue during drying. Journal of Food Engineering, 104:657-662.

Setiawati, R. and Bafdal, N. (2020). Dampak Kualitas Air Tanah Terhadap Kualitas Melon (Cucumis melo L.). Agrotekma: Jurnal Agroteknologi Dan Ilmu Pertanian, 4:83-93.

Subedi, P. P. and Walsh, K. B. (2020). Assessment of avocado fruit dry matter content using portable near infrared spectroscopy: Method and instrumentation optimisation. Postharvest Biology and Technology, 161:111078.

Vigneau, E., Courcoux, P., Symoneaux, R., Guérin, L. and Villière, A. (2018). Random forests: A machine learning methodology to highlight the volatile organic compounds involved in olfactory perception. Food Quality and Preference, 68:135-145.

Windig, W., Shaver, J. and Bro, R. (2008). Loopy MSC: A simple way to improve multiplicative scatter correction. Applied Spectroscopy, 62:1153-1159.

Xie, L., Ying, Y., Lin, H., Zhou, Y. and Niu, X. (2008). Nondestructive determination of soluble solids content and pH in tomato juice using NIR transmittance spectroscopy. Sensing and Instrumentation for Food Quality and Safety, 2:111-115.

Zaid, A., Abu-Khalaf, N., Mudalal, S. and Petracci, M. (2020). Differentiation between normal and white striped Turkey breasts by visible/near infrared spectroscopy and multivariate data analysis. Food Science of Animal Resources, 40:96-105.