Prediction of Quality and Ripeness in ‘Weidi’ and ‘Fengweimeigui’ Apricot–Plum Using Near-Infrared Spectroscopy and Machine Learning Analysis
Abstract
1. Introduction
2. Materials and Methods
2.1. Sample Collection
2.2. Fruit NIR Spectral Data Acquisition
2.3. Spectral Preprocessing and Sample Set Division
2.4. Sample Subset Partitioning
2.5. Principal Component Analysis and Dimensionality
2.6. Non-Linear Regression Models
2.7. Model Evaluation Metrics
2.8. Fruit Quality Reference Values
2.9. Data Processing Software
3. Results
3.1. Quality Analysis of Apricot–Plum During Color Change Period
3.2. Coefficient of Variation
3.3. Pearson Correlation Analysis of Apricot–Plum Fruit Quality
3.4. NIR Spectroscopy and Quality Correlation Analysis
3.5. Mechanistic Insights into Feature Wavelengths and Model Interpretability
3.6. NIR Spectral Sample Set Partitioning
3.7. Development of Apricot–Plum Quality Prediction Models
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Popova, A.; Mihaylova, D.; Pandova, S.; Doykina, P. Research-Gap-Spotting in Plum–Apricot Hybrids—Bioactive Compounds, Antioxidant Activities, and Health Beneficial Properties. Horticulturae 2023, 9, 584. [Google Scholar] [CrossRef] [Scilit]
- Nicolás-Almansa, M.; Ruiz, D.; Salazar, J.A.; Guevara, A.; Cos, J.; Martínez-Gómez, P.; Rubio, M. Phenotypic and molecular characterization of new interspecific Japanese plum × apricot hybrids (plumcots). Sci. Hortic. 2023, 318, 112131. [Google Scholar] [CrossRef] [Scilit]
- Fu, D.; Li, F.; Du, H.; Yang, S.; Du, L.; Fu, J.; Li, F. ‘Weidi’ a new cultivar of hybrid between the species of plum and apricot. Acta Hortic. Sin. 2005, 32, 369. [Google Scholar]
- Popova, A.; Doykina, P.; Mihaylova, D.; Dimitrova-Dimova, M. Assessment of Pudding Formulations Using Lyophilized Apricot, Plum, and Plum–Apricot Powders: Texture, Bioactivity, and Sensory Quality. Dairy 2024, 5, 688–701. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.S.; Li, J.; Pan, Z. Effects of 1-MCP on Post Harvest Physiology and Storage Quality of Pluot to USA Fruits. North. Hortic. 2010, 02, 205–208. [Google Scholar]
- Nicolaï, B.M.; Beullens, K.; Bobelyn, E.; Peirs, A.; Saeys, W.; Theron, K.I.; Lammertyn, J. Nondestructive measurement of fruit and vegetable quality by means of optical spectroscopy: A review. Postharvest Biol. Technol. 2007, 46, 99–118. [Google Scholar] [CrossRef] [Scilit]
- Walsh, K.B.; Blasco, J.; Zude-Sasse, M.; Sun, X. Visible-NIR ‘point’ spectroscopy in postharvest fruit and vegetable assessment: The science behind three decades of commercial use. Postharvest Biol. Technol. 2020, 168, 111246. [Google Scholar] [CrossRef] [Scilit]
- Lu, R. Multispectral imaging for predicting firmness and soluble solids content of apple fruit. Postharvest Biol. Technol. 2004, 31, 147–157. [Google Scholar] [CrossRef] [Scilit]
- Merzlyak, M.N.; Solovchenko, A.E.; Gitelson, A.A. Reflectance spectrophotometry in the fruit quality assessment. J. Agric. Food Chem. 2003, 51, 6317–6323. [Google Scholar]
- Li, X.; Wei, Y.; Xu, J.; Feng, X.; Wu, F.; Zhu, R.; He, Y. Non-destructive determination of soluble solids content and firmness in European plums by near-infrared spectroscopy. Postharvest Biol. Technol. 2018, 141, 8–18. [Google Scholar] [CrossRef] [Scilit]
- Bureau, S.; Ruiz, D.; Reich, M.; Gouble, B.; Bertrand, D.; Audergon, J.M.; Renard, C.M. Application of ATR-FTIR spectroscopy for chemical characterization of apricot fruit and rapid determination of major compounds. Food Chem. 2009, 115, 1130–1140. [Google Scholar] [CrossRef] [Scilit]
- Rébufa, C.; Pany, I.; Bombarda, I. NIR spectroscopy for the quality control of Moringa oleifera (Lam.) leaf powders: Prediction of minerals, protein and moisture contents. Food Chem. 2018, 261, 311–321. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sánchez, M.T.; Pérez-Marín, D.; Torres, I.; Gil, B.; Garrido-Varo, A.; De la Haba, M.J. Use of NIRS technology for on-vine measurement of nitrate content and other internal quality parameters in intact summer squash for baby food production. Postharvest Biol. Technol. 2017, 125, 122–128. [Google Scholar] [CrossRef] [Scilit]
- Graham, S.F.; Haughey, S.A.; Ervin, R.M.; Cancouët, E.; Bell, S.; Elliott, C.T. The application of near-infrared (NIR) and Raman spectroscopy to detect adulteration of oil used in animal feed production. Food Chem. 2012, 132, 1614–1619. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.B.; Ji, H.H.; Li, Z.Y.; Jiang, S.J. Medicine discrimination of NIRS based on a regularized collaborative representation identification with the gabor optimizer. Optik 2019, 180, 549–558. [Google Scholar] [CrossRef] [Scilit]
- Srivastava, H.K.; Wolfgang, S.; Rodriguez, J.D. Expanding the analytical toolbox for identity testing of pharmaceutical ingredients: Spectroscopic screening of dextrose using portable Raman and near infrared spectrometers. Anal. Chim. Acta 2016, 914, 91–99. [Google Scholar] [CrossRef] [Scilit]
- Balabin, R.M.; Syunyaev, R.Z. Petroleum resins adsorption onto quartz sand: Near infrared (NIR) spectroscopy study. J. Colloid Interface Sci. 2008, 318, 167–174. [Google Scholar] [CrossRef] [Scilit]
- Cayuela, J.A.; García-Martín, J.F. Sorting olive oil based on alpha-tocopherol and total tocopherol content using near-infra-red spectroscopy (NIRS) analysis. J. Food Eng. 2017, 202, 79–88. [Google Scholar] [CrossRef] [Scilit]
- Katuwal, S.; Knadel, M.; Norgaard, T.; Moldrup, P.; Greve, M.H.; de Jonge, L.W. Predicting the dry bulk density of soils across Denmark: Comparison of single-parameter, multi-parameter, and vis-NIR based models. Geoderma 2020, 361, 114080. [Google Scholar] [CrossRef] [Scilit]
- Pino-Torres, C.; Maspoch, S.; Castillo-Felices, R.; Pérez-Rivera, M.; Aranda-Bustos, M.; Peña-Farfal, C. Evaluation of NIR and Raman spectroscopies for the quality analytical control of a solid pharmaceutical formulation with three active ingredients. Microchem. J. 2020, 154, 104576. [Google Scholar] [CrossRef] [Scilit]
- Wang, R.Y.; Luo, S.S.; Zhen, Z.Y. Study on methods for judging different maturity of Prunus domestica × armeniaca in ‘Konglongdan’ Fruits. Xinjiang Agric. Sci. 2025, 62, 1408–1420. [Google Scholar]
- Lin, X.H.; Sun, D.W. Recent developments in vibrational spectroscopic techniques for tea quality and safety analyses. Trends Food Sci. Technol. 2020, 104, 163–176. [Google Scholar] [CrossRef] [Scilit]
- Jaywant, S.A.; Singh, H.; Arif, K.M. Sensors and Instruments for Brix Measurement: A Review. Sensors 2022, 22, 2290. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kharbach, M.; Mansouri, M.A.; Taabouz, M.; Yu, H.W. Current Application of Advancing Spectroscopy Techniques in Food Analysis: Data Handling with Chemometric Approaches. Foods 2023, 12, 2753. [Google Scholar] [CrossRef] [Scilit]
- Ma, T.; Xia, Y.; Inagaki, T.; Tsuchikawa, S. Rapid and nondestructive evaluation of apple SSC and firmness using Vis-NIR spectroscopy. Postharvest Biol. Technol. 2021, 173, 111417. [Google Scholar] [CrossRef] [Scilit]
- Mishra, P.; Passos, D.; Marini, F.; Roger, J.M. Deep learning for near-infrared spectral data modelling: Hypes and benefits. TrAC Trends Anal. Chem. 2022, 157, 116804. [Google Scholar] [CrossRef] [Scilit]
- Fan, S.; Zhang, B.; Li, J.; Huang, W.; Wang, C. Prediction of apple soluble solids content using combined spectral and texture data. J. Food Eng. 2020, 286, 110093. [Google Scholar]
- Xu, M.; Sun, J.; Cheng, J.H.; Yao, K.N.; Wu, X.H.; Zhou, X. Non-destructive prediction of total soluble solids and titratable acidity in Kyoho grape using hyperspectral imaging and deep learning algorithm. Int. J. Food Sci. Technol. 2023, 58, 9–21. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Z.L.; Wang, X.W.; Liu, D.D.; Wang, Y.W.; Gu, Y.H.; Teng, J.X.; Niu, X.Y. Quantitative analysis of SSC and titratable acidity in plum using NIR spectroscopy. Spectrosc. Spectral Anal. 2022, 42, 2836–2842. [Google Scholar]
- Wang, Y.; Zhu, Z.; Mao, W.; Cui, K.; Yang, L.; Sun, L.; Ma, W.; Ma, W.; Xiang, B. Multivariate Quantitative Prediction of Soluble Solids Content, Moisture Content, and Fruit Firmness in ‘Dinosaur Egg’ Apricot Plum via Near-Infrared Spectroscopy with Cross-Parameter Feature Fusion and SHapley Additive exPlanations-Based Optimization. Foods 2025, 14, 4118. [Google Scholar] [CrossRef] [Scilit]
- Travers, S.; Bertelsen, M.G.; Petersen, K.K.; Kucheryavskiy, S.V. Predicting pear (cv. Clara Frijs) dry matter and soluble solids content with near infrared spectroscopy. LWT—Food Sci. Technol. 2014, 59, 1107–1113. [Google Scholar] [CrossRef] [Scilit]
- Arianti, N.D.; Saputra, E.; Sitorus, A. Automatic generation of pre-processing strategy combined with machine learning multivariate analysis for NIR spectral data. J. Agric. Food Res. 2021, 13, 100625. [Google Scholar] [CrossRef] [Scilit]
- Galvão, R.K.H.; Araujo, M.C.U.; José, G.E.; Pontes, M.J.C.; Silva, E.C.; Saldanha, T.C.B. A method for calibration and validation subset partitioning. Talanta 2005, 67, 736–740. [Google Scholar] [CrossRef] [Scilit]
- Mishra, P.; Lohumi, S.; Khan, H.A.; Nordon, A. Close-range hyperspectral imaging of whole plants for digital phenotyping: Recent applications and illumination correction approaches. Comput. Electron. Agric. 2020, 178, 105780. [Google Scholar] [CrossRef] [Scilit]
- Contreras, J.; Bocklitz, T. Explainable artificial intelligence for spectroscopy data: A review. Pflügers Arch. Eur. J. Physiol. 2025, 477, 603–615. [Google Scholar] [CrossRef] [Scilit]
- Sabzi, S.; Pourdarbani, R.; Rohban, M.H.; García-Mateos, G.; Arribas, J. Estimation of nitrogen content in cucumber plant (Cucumis sativus L.) leaves using hyperspectral imaging data with neural network and partial least squares regressions. Chemometr. Intell. Lab. Syst. 2021, 217, 104404. [Google Scholar] [CrossRef] [Scilit]
- Bedin, F.C.B.; Faust, M.V.; Guarneri, G.A.; Assmann, T.S.; Lafay, C.B.B.; Soares, L.F.; de Oliveira, P.A.V.; dos Santos-Tonial, L.M. NIR associated to PLS and SVM for fast and non-destructive determination of C, N, P, and K contents in poultry litter. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2021, 245, 118834. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Meng, Q.L.; Shang, J.; Huang, R.S.; Zhang, Y. Determination of soluble solids content and firmness in plum using hyperspectral imaging and chemometric algorithms. J. Food Process Eng. 2021, 44, e13611. [Google Scholar] [CrossRef] [Scilit]
- Sun, Y.L.; Yu, F.; Wang, Y.T.; Li, J.Q.; Fan, Y.P. Analysis and comprehensive evaluation of fruit quality of 65 Prunus cerasifera Ehrh germplasm resources in Xinjiang. Food Ferment. Ind. 2022, 1–13. [Google Scholar]
- Xia, Y.L.; Qu, Q.; Yang, Z.; Bao, J.K. The QTL Mapping Analysis of Fruit Total Flavonoids and Phenols in Jujube. Mol. Plant Breed. 2022, 1–16. [Google Scholar]
- Wang, R.Y.; Hu, H.; Luo, S.S.; Zhen, Z.Y.; Xu, Y.Y.; Hu, X.J. Fruit Quality Analysis of Prunus domestica × armeniaca at Different Harvest Maturity Levels. J. Agric. Sci. Technol. 2025, 27, 158–169. [Google Scholar]
- Ma, P.Q.; Wang, W.; Wang, P.; Tang, X.L.; Huang, Y.J. Relationship between the color change of Citrus Gonggan flesh and the maturity in harvest time. Guangdong Agric. Sci. 2010, 37, 63–64. [Google Scholar] [CrossRef]
- Cherian, S.; Figueroa, C.R.; Nair, H. ‘Movers and shakers’ in the regulation of fruit ripening: A cross-dissection of climacteric versus non-climacteric fruit. J. Exp. Bot. 2014, 65, 4705–4722. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kan, E.E.L.; Sargent, S.A.; Cantliffe, D.J.; Berry, A.D.; Shaw, N.L. Harvest Maturity and Storage Temperature Affect Postharvest Quality of ‘Wanda’ Datil Hot Pepper Grown Under Protected Culture. HortTechnology 2019, 29, 402–407. [Google Scholar] [CrossRef] [Scilit]
- Xue, X.M.; Hu, X.; Wang, G.P.; Wang, J.Z. Effects of different maturities on characteristics of plum fruit quality. Non-Wood For. Res. 2020, 38, 26–36. [Google Scholar]
- Zhang, Z.G.; Yan, L.; Chang, C.; Li, H.; Cheng, P.; Yang, L. Effect of different maturity on fruit quality of apricot. Acta Agric. Zhejiangensis 2021, 33, 1402–1408. [Google Scholar]
- Wang, G.P.; Wang, J.; Xue, X.M. Analysis of Fruit Quality and Aromatic Components of Plum New Variety “Jinhong” in Different Harvest Times. Acta Agric. Jiangxi 2015, 27, 88–91. [Google Scholar]
- E, J.; Zhai, C.; Jiang, X.; Xu, Z.; Wudan, M.; Li, D. Non-destructive detection of chilled mutton freshness using a dual-branch hierarchical spectral feature-aware network. Foods 2025, 14, 1379. [Google Scholar] [CrossRef] [Scilit]
- Zhai, H.; Xie, P.; Xie, X.; Sha, S.S. Deep learning-enabled hyperspectral imaging for high-accuracy non-destructive quantification of nutritional components in multi-variety apples. Front. Plant Sci. 2025, 16, 1634785. [Google Scholar] [CrossRef] [Scilit]
- Osborne, B.G.; Fearn, T.; Hindle, P.H. Practical NIR Spectroscopy with Applications in Food and Beverage Analysis; Longman Scientific & Technical: Harlow, UK, 1993. [Google Scholar]
- Williams, P.; Norris, K. Near-Infrared Technology in the Agricultural and Food Industries; American Association of Cereal Chemists: St. Paul, MN, USA, 2001. [Google Scholar]
- Liu, H.J.; Wei, C.Y.; Han, W.; Yao, Y. Determination of Huanghua Pear’s Harvest Time Based on Convolutional Neural Networks by Visible-Near Infrared Spectroscopy. Spectrosc. Spectral Anal. 2020, 40, 2932–2936. [Google Scholar]
- Qiu, Z.; Ma, Q.; Wu, Z.; Yao, J.; Sang, L.; Ma, Y.; Huang, Y.; Li, Y. Determination of Fruit Ripening Degree Based on Convolutional Neural Network and Hyperspectral Imaging Technology. Mod. Food Sci. Technol. 2025, 41, 313–322. [Google Scholar] [CrossRef]
- Li, L.; Zhang, G.; Shi, R.; Nie, J.; Chai, J.; Liu, W. Online detection of citrus sugar content based on visible-near-infrared reflectance spectroscopy. Food Mach. 2025, 41, 81–87. [Google Scholar]
- Duckena, L.; Alksnis, R.; Erdberga, I.; Alsina, I.; Dubova, L.; Duma, M. Non-Destructive Quality Evaluation of 80 Tomato Varieties Using Vis-NIR Spectroscopy. Foods 2023, 12, 1990. [Google Scholar] [CrossRef] [Scilit]
























| Cultivar | First Sampling | Second Sampling | Third Sampling | Fourth Sampling |
|---|---|---|---|---|
| ‘Fengweimeigui’ | 21 June 2025 | 28 June 2025 | 5 July 2025 | 12 July 2025 |
| ‘Weidi’ | 19 June 2025 | 26 June 2025 | 3 July 2025 | 10 July 2025 |
| Classification | Indicator (Statistical Quantity) | Minimum | Maximum | Mean |
|---|---|---|---|---|
| Training set | Soluble solids content/(%) (448) | 9.03 | 23.17 | 15.41 |
| Vitamin C content/(mg/100 g) (448) | 9.53 | 41.29 | 28.37 | |
| Soluble sugar content/(%) (448) | 6.37 | 10.84 | 8.35 | |
| Titratable acid content/(%) (448) | 1.38 | 2.41 | 2.02 | |
| Sugar–acid ratio (448) | 2.64 | 6.17 | 4.28 | |
| Soluble protein content/(mg/g) (448) | 0.40 | 1.62 | 0.87 | |
| Flavonoids content/(mg/g) (448) | 0.41 | 1.79 | 0.95 | |
| Total phenols content/(mg/g) (448) | 0.75 | 1.58 | 1.06 | |
| Dry matter content/(%) (448) | 22.37 | 38.91 | 29.35 | |
| Firmness/(N) (448) | 5.99 | 46.01 | 22.22 | |
| Peel L* (448) | 27.23 | 57.41 | 45.55 | |
| Peel a* (448) | −12.81 | 10.23 | −2.06 | |
| Peel b* (448) | −7.05 | 30.80 | 17.14 | |
| Flesh L* (448) | 22.37 | 55.99 | 39.57 | |
| Flesh a* (448) | −3.20 | 32.61 | 18.78 | |
| Flesh b* (448) | 3.76 | 33.13 | 17.36 | |
| Prediction set | Soluble solids content/(%) (192) | 9.30 | 23.11 | 13.91 |
| Vitamin C content/(mg/100 g) (192) | 10.03 | 40.89 | 21.53 | |
| Soluble sugar content/(%) (192) | 6.44 | 10.64 | 7.73 | |
| Titratable acid content/(%) (192) | 1.43 | 2.39 | 2.12 | |
| Sugar–acid ratio (192) | 2.70 | 6.14 | 3.81 | |
| Soluble protein content/(mg/g) (192) | 0.40 | 1.54 | 0.66 | |
| Flavonoids content/(mg/g) (192) | 0.48 | 1.73 | 1.02 | |
| Total phenols content/(mg/g) (192) | 0.76 | 1.55 | 1.17 | |
| Dry matter content/(%) (192) | 22.37 | 36.48 | 28.86 | |
| Firmness/(N) (192) | 6.17 | 46.01 | 25.49 | |
| Peel L* (192) | 29.34 | 56.31 | 49.86 | |
| Peel a* (192) | −12.41 | 9.27 | −4.65 | |
| Peel b* (192) | −4.78 | 29.52 | 20.02 | |
| Flesh L* (192) | 22.37 | 55.99 | 43.43 | |
| Flesh a* (192) | −3.20 | 28.37 | 18.48 | |
| Flesh b* (192) | 3.76 | 33.13 | 17.42 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Deng, L.; Sun, Y.; Geng, W.; Xu, H.; Wang, M.; Fang, Z.; Liu, Q.; Chu, F. Prediction of Quality and Ripeness in ‘Weidi’ and ‘Fengweimeigui’ Apricot–Plum Using Near-Infrared Spectroscopy and Machine Learning Analysis. Agriculture 2026, 16, 602. https://doi.org/10.3390/agriculture16050602
Deng L, Sun Y, Geng W, Xu H, Wang M, Fang Z, Liu Q, Chu F. Prediction of Quality and Ripeness in ‘Weidi’ and ‘Fengweimeigui’ Apricot–Plum Using Near-Infrared Spectroscopy and Machine Learning Analysis. Agriculture. 2026; 16(5):602. https://doi.org/10.3390/agriculture16050602
Chicago/Turabian StyleDeng, Liqin, Yali Sun, Wenjuan Geng, Hui Xu, Ming Wang, Zhigang Fang, Qi Liu, and Fenfei Chu. 2026. "Prediction of Quality and Ripeness in ‘Weidi’ and ‘Fengweimeigui’ Apricot–Plum Using Near-Infrared Spectroscopy and Machine Learning Analysis" Agriculture 16, no. 5: 602. https://doi.org/10.3390/agriculture16050602
APA StyleDeng, L., Sun, Y., Geng, W., Xu, H., Wang, M., Fang, Z., Liu, Q., & Chu, F. (2026). Prediction of Quality and Ripeness in ‘Weidi’ and ‘Fengweimeigui’ Apricot–Plum Using Near-Infrared Spectroscopy and Machine Learning Analysis. Agriculture, 16(5), 602. https://doi.org/10.3390/agriculture16050602
