Submitted:
24 June 2026
Posted:
25 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Tamarind
2.2. Spectral and Spatial Data Acquisition
2.3. Chemical Analyses
2.4. Data Analysis
3. Results and Discussion
3.1. Spectral Data
3.2. Models for TSS, TA, and TSS/TA Ratio of Sweet Tamarind Fruit
3.3. Classification of Standard and Off-Standard Sweet Tamarind Fruit
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Devi, B.; Boruah, T. Tamarind (Tamarindus indica). In Antioxidants in Fruits: Properties and Health Benefits; Nayik, G.A., Gull, A., Eds.; Springer: Singapore, 2020; pp. 325–342. [Google Scholar] [CrossRef]
- Swamy, K.R.M. Origin, taxonomy, botanical description, genetics and cytogenetics, genetic diversity, breeding and cultivation of tamarind. Int. J. Curr. Res. 2025, 17(07), 33996–34040. [Google Scholar] [CrossRef]
- Reis, P.M.C.L.; Dariva, C.; Vieira, G.Â.B.; Hense, H. Extraction and evaluation of antioxidant potential of the extracts obtained from tamarind seeds (Tamarindus indica), sweet variety. J. Food Eng. 2016, 173, 116–123. [Google Scholar] [CrossRef]
- Ali, M.Z.; Seehanam, P.; Naksavi, D.; Maniwara, P. Mold Detection in Sweet Tamarind During Storage Performed by Near-Infrared Spectroscopy and Chemometrics. Horticulturae 2026, 12, 462. [Google Scholar] [CrossRef]
- Tridge. Fresh Sweet Tamarind Market Overview 2026. Available online: https://www.tridge.com/market-overview/fresh-sweet-tamarind (accessed on 23 April 2026).
- Pal, D.; Mukherjee, S. Tamarind (Tamarindus indica) Seeds in Health and Nutrition. In Nuts and Seeds in Health and Disease Prevention, 2nd ed.; Preedy, V.R., Watson, R.R., Eds.; Academic Press: San Diego, CA, USA, 2020; pp. 171–182. [Google Scholar] [CrossRef]
- Chaturvedi, K.; Karunakaran, G.; Satisha, G.C.; Singh, P.; Nag, S.K.; Kumar, P. Nutritional characterization and identification of sweet tamarind (Tamarindus indica L.) accessions from the Bastar region of Chhattisgarh, India. Plant Genet. Resour. Characterisation Util. 2024, 23(3), 174–183. [Google Scholar] [CrossRef]
- Wanjau, R.W.; Luvanda, A.; Okeyo, M.; Cheboiwo, J. Ecological distribution and commercial exploitation of Tamarindus Indica in Kenya A Review. J. Innov. Technol. Sustain. 2025, 3(1), 44–62. [Google Scholar] [CrossRef]
- Sulieman, A.M.E.; Alawad, S.M.; Osman, M.A.; Abdelmageed, E.A. Physicochemical characteristics of local varieties of tamarind (Tamarindus indica L), Sudan. Int. J. Plant Res. 2015, 5(1), 13–18. [Google Scholar] [CrossRef]
- Suktanarak, S.; Teerachaichayut, S. Quantitative analysis of total soluble solids and titratable acidity of sweet tamarind by SW-NIRS. Int. J. Biosci. Biochem. Bioinforma. 2013, 3(4), 328–331. [Google Scholar] [CrossRef]
- Prasanna, V.; Prabha, T.N.; Tharanathan, R.N. Fruit ripening phenomena–An Overview. Crit. Rev. Food Sci. Nutr. 2007, 47(1), 1–19. [Google Scholar] [CrossRef] [PubMed]
- Kamruzzaman, M.; Makino, Y.; Oshita, S. Non-invasive analytical technology for the detection of contamination, adulteration, and authenticity of meat, poultry, and fish: A review. Anal. Chim. Acta 2015, 853, 19–29. [Google Scholar] [CrossRef] [PubMed]
- Mia, N.; Hashem, A.; Halim, A.; Tariq, S.; Ahamed, Z. Application of NIR spectroscopy with machine learning in the food industry: A comprehensive review. Food Phys. 2026, 3, 100089. [Google Scholar] [CrossRef]
- Vicente, J.; Kist, V.; Mega, C.P.; Rossato, O.B.; Veloso, O.; Carvalho, M.G. Spectroscopy-driven authentication of agro-industrial products: A comprehensive review of NMR, FT-IR, NIR and Chemometric workflows. Food Chem. 2026, 513, 148982. [Google Scholar] [CrossRef] [PubMed]
- Hasanzadeh, B.; Abbaspour-Gilandeh, Y.; Soltani-Nazarloo, A.; Cruz-Gámez, E.D.L.; Hernández-Hernández, J.L.; Martínez-Arroyo, M. Non-Destructive Measurement of Quality Parameters of Apple Fruit by Using Visible/Near-Infrared Spectroscopy and Multivariate Regression Analysis. Sustainability 2022, 14(22), 14918. [Google Scholar] [CrossRef]
- Funsueb, S.; Thanavanich, C.; Theanjumpol, P.; Kittiwachana, S. Development of new fruit quality indices through aggregation of fruit quality parameters and their predictions using near-infrared spectroscopy. Postharvest Biol. Technol. 2023, 204, 112438. [Google Scholar] [CrossRef]
- Li, S.; Gong, C.; Bu, Y.; Liu, H.; Guo, X.; Guo, W. Detection of SSC in ‘Shine Muscat’ grapes using Vis/NIR and NIR spectra with characteristic wavelengths. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2026, 358, 127865. [Google Scholar] [CrossRef] [PubMed]
- Rungchang, S.; Saeys, W.; Sringarm, C.; Numthuam, S.; Intanon, S.; Kittiwachana, S.; Jiamyangyuen, S. Near infrared spectroscopy for sustainable non-destructive classification and quantitative prediction of quality traits of seed size, pest damage, and quality traits in lychee (Litchi chinensis). Appl. Food Res. 2025, 5(2), 101553. [Google Scholar] [CrossRef]
- Wang, J.; Fu, D.; Hu, Z.; Chen, Y.; Li, B. Nondestructive Determination of Epicarp Hardness of Passion Fruit Using Near-Infrared Spectroscopy during Storage. Foods 2024, 13, 783. [Google Scholar] [CrossRef] [PubMed]
- Ali, M.Z.; Seehanam, P.; Theanjumpol, P.; Sonthiya, K.; Suksai, K.; Maniwara, P. Utilization of near infrared spectroscopy coupled with chemometrics for non-destructive detection of mold in sweet tamarind. Appl. Food Res. 2025. 5, 101241. [CrossRef]
- Srivichien, S.; Terdwongworakul, A.; Teerachaichayut, S. Quantitative prediction of nitrate level in intact pineapple using Vis–NIRS. J. Food Eng. 2015, 150, 29–34. [Google Scholar] [CrossRef]
- Bilgin, A.-B.; Vega-Castellote, M.; Entrenas, J.-A.; Torres-Rodríguez, I.; Aykas, D.-P.; Basaran, P.; Pérez-Marín, D. Comparative Evaluation of Portable and Benchtop NIR Spectroscopy and Hyperspectral Imaging for Detecting Honey Adulteration. Sensors 2026, 26, 2750. [Google Scholar] [CrossRef] [PubMed]
- Zhang, A.; Li, Z.; Huang, X.; Xu, H.; Liang, Y.; Han, X.; Dong, N.; Xia, Z.; Shi, J.; Zou, X. Applications and Advances in Hyperspectral Imaging for Detecting Three Major Natural Plant Pigments in Food: A Review. Anal. Chem. 2026, 98(5), 3387–3412. [Google Scholar] [CrossRef] [PubMed]
- Huang, L.; Zhou, Y.; Meng, L.; Wu, D.; He, Y. Comparison of different CCD detectors and chemometrics for predicting total anthocyanin content and antioxidant activity of mulberry fruit using visible and near infrared hyperspectral imaging technique. Food Chem. 2017, 224, 1–10. [Google Scholar] [CrossRef] [PubMed]
- Munera, S.; Amigo, J.M.; Aleixos, N.; Talens, P.; Cubero, S.; Blasco, J. Potential of VIS-NIR hyperspectral imaging and chemometric methods to identify similar cultivars of nectarine. Food Control 2018, 86, 1–10. [Google Scholar] [CrossRef]
- Miao, Y.-H.; Zong, L.-Y.; Su, W.-H. Machine learning in VIS/NIR spectroscopy and hyperspectral imaging for rapid detection of staple foods quality and safety: A review. J. Food Compos. Anal. 2025, 148, 108422. [Google Scholar] [CrossRef]
- Pan, T.-T.; Sun, D.-W.; Cheng, J.-H.; Pu, H. Regression algorithms in hyperspectral data analysis for meat quality detection and evaluation. Compr. Rev. Food Sci. Food Saf. 2016, 15(3), 529–541. [Google Scholar] [CrossRef] [PubMed]
- Williams, P.J.; Geladi, P.; Britz, T.J.; Manley, M. Near-infrared (NIR) hyperspectral imaging and multivariate image analysis to study growth characteristics and differences between species and strains of members of the genus Fusarium. Anal. Bioanal. Chem. 2012, 404(6), 1759–1769. [Google Scholar] [CrossRef] [PubMed]
- Du, K.L.; Jiang, B.; Lu, J.; Hua, J.; Swamy, M.N.S. Exploring kernel machines and support vector machines: Principles, techniques, and future directions. Mathematics 2024, 12(24), 3935. [Google Scholar] [CrossRef]
- Kok, Z.H.; Shariff, A.R.M.; Alfatni, M.S.M.; Khairunniza-Bejo, S. Support Vector Machine in Precision Agriculture: A review. Comput. Electron. Agric. 2021, 191, 106546. [Google Scholar] [CrossRef]
- Rashid, N.A.; Nasaruddin, N.; Kassim, K.; Hazwani, A.; Rahim, H.A. Comparison Analysis: Large Data Classification Using PLS-DA and Decision Trees. Math. Methods Stat. 2019, 8, 100–105. [Google Scholar]
- Hussain, M.; Wajid, S. K.; Elzaart, A.; Berbar, M. A Comparison of SVM Kernel Functions for Breast Cancer Detection. In Proceedings of the 2011 Eighth International Conference on Computer Graphics, Imaging and Visualization, Washington, DC, USA, 17–19 August 2011; IEEE, 2011; pp. 145–150. [Google Scholar]
- Long, T.; Xie, Z.; Luo, Y.; He, M.; Liu, D.; Chen, X.; Guan, M.; Zhao, J.; Lan, Y.; Long, Y. VIS-NIR transmittance hyperspectral image reconstruction for litchi fruits. Comput. Electron. Agric. 2026, 246, 111541. [Google Scholar] [CrossRef]
- Ding, H.; Zhao, J.; Wang, W.; Ding, R.; Yun, Y.; Liu, Y.; Tu, K.; Lan, W.; Pan, L. Toward trustworthy non-destructive mango quality prediction using hyperspectral imaging and explainable AI. Food Control 2026, 184, 112026. [Google Scholar] [CrossRef]
- Dai, Y.; Ding, H.; Zhao, S.; Liu, Z. Robust provenance classification of curcumae radix (Yujin) using nir-hsi: Preprocessing, nested CV and morphology effects. Microchem. J. 2026, 222, 117170. [Google Scholar] [CrossRef]
- Song, Y.; Zheng, Y.; Xin, J.; Zhang, F.; Qi, H.; Yu, F.; Wang, X.; Chen, L.; Cao, C.; Yu, Y.; Li, Z. Simultaneous detection of water content and ferulic acid content in Angelica sinensis using NIR-HSI and multi-task hierarchical attention CNN. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2026, 358, 127829. [Google Scholar] [CrossRef] [PubMed]
- Akter, T.; Faqeerzada, M.A.; Kim, Y.; Pahlawan, M.F.R.; Aline, U.; Kim, H.; Kim, H.; Cho, B.-K. Hyperspectral imaging with multivariate analysis for detection of exterior flaws for quality evaluation of apples and pears. Postharvest Biol. Technol. 2025, 223, 113453. [Google Scholar] [CrossRef]
- Zhao, Z.; Cao, W.; Liu, X.; Chen, M.; Qiu, J. Rapid determination of soluble solids and water-soluble sugar contents in Mopan persimmon based on hyperspectral imaging and chemometrics. Infrared Phys. Technol. 2025, 150, 106042. [Google Scholar] [CrossRef]
- Ezenarro, J.; Saouabi, I.; García-Pizarro, A.; Schorn-García, D.; Mestres, M.; Amigo, J.M.; Busto, O.; Boqu, R. NIR-HSI for the non-destructive monitoring of in-bag hazelnut oxidation. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2025, 333, 125906. [Google Scholar] [CrossRef]
- Wang, Y.; Jing, L.; Liu, J.; Cao, X.; Zhang, K.; Zhang, H.; Wang, J. Classification of kiwifruit storage day based on hyperspectral imaging and convolutional neural networks. J. Food Compos. Anal. 2026, 149, 108774. [Google Scholar] [CrossRef]
- Khamsopha, D.; Woranitta, S.; Teerachaichayut, S. Utilizing near infrared hyperspectral imaging for quantitatively predicting adulteration in tapioca starch. Food Control 2021, 123(1), 107781. [Google Scholar] [CrossRef]
- Sricharoonratana, M.; Thompson, A.K.; Teerachaichayut, S. Use of near infrared hyperspectral imaging as a nondestructive method of determining and classifying shelf life of cakes. LWT-Food Sci. Technol. 2021, 136(1), 110369. [Google Scholar] [CrossRef]
- Kabir, A.; Lee, I.; Singh, C.B.; Mishra, G.; Panda, B.K.; Lee, S.-H. Aflatoxin B1 contamination level detection in almond kernels through short wave infrared hyperspectral image analysis. Adv. Agrochem. 2025, 4, 363–372. [Google Scholar] [CrossRef]
- Ismail, A.; Park, S.; Kim, H.-J.; Choi, M.; Kim, H.-J.; Hong, H.; Kim, G.; Jo, C. Evaluation of biomarkers that influence the freshness of beef during storage using VIS/NIR hyperspectral imaging. LWT-Food Sci. Technol. 2025, 216, 117302. [Google Scholar] [CrossRef]
- Teerachaichayut, S.; Ho, H.T. Non-destructive prediction of total soluble solids, titratable acidity and maturity index of limes by near infrared hyperspectral imaging. Postharvest Biol. Technol. 2017, 133(1), 20–25. [Google Scholar] [CrossRef]
- Zhang, J.; Zhang, Q.; Zhao, R.; Yu, J. Advances in hyperspectral imaging-based non-destructive assessment of tomato quality attributes. Smart Agr. Technol. 2025, 12, 101534. [Google Scholar] [CrossRef]
- Yao, K.; Wang, K.; Zhang, Y.; Zhang, B.; Sun, J.; Du, X.; Li, Y. Nondestructive detection of heavy metal lead in eggs using hyperspectral imaging combined with deep learning-based feature extraction method. J. Food Compos. Anal. 2025, 146, 107994. [Google Scholar] [CrossRef]
- Suktanarak, S.; Teerachaichayut, S. Non-destructive quality assessment of hens' eggs using hyperspectral images. J. Food Eng. 2017, 215, 97–103. [Google Scholar] [CrossRef]
- Yang, K.; Argyropoulos, D. Explainable deep learning combined with hyperspectral imaging for early detection of browning in mushrooms. Smart Agr. Technol. 2026, 13, 101833. [Google Scholar] [CrossRef]
- ASEAN Trade Repository. ASEAN standard for sweet tamarind (ASEAN Stan 39:2014). Available online: https://asean.org/wp-content/uploads/2012/05/39-ASEAN-standard_sweet-tamarind.pdf (accessed on 2 June 2026).
- AOAC. Official Methods of Analysis, 17th ed.; Association of Official Analytical Chemists: Arlington, VA, USA, 2000. [Google Scholar]
- Reid, M.S. Chapter 6 maturation and maturity indices In Postharvest Technology of Horticultural Crops,, 3rd ed.; Kader, A.A.E., Ed.; University of California, Agriculture and Natural Resources: Publication 3311, California, USA, 2002. [Google Scholar]
- Esquerre, C.; Gowen, A.A.; Burger, J.; Downey, G.; O'Donnell, C.P. Suppressing sample morphology effects in near infrared spectral imaging using chemometric data pre-treatments. Chemom. Intell. Lab. Syst. 2012, 117(1), 129–137. [Google Scholar] [CrossRef]
- Liu, Y.; Liu, Y.; Chen, Y.; Zhang, Y.; Shi, T.; Wang, J.; Hong, Y.; Fei, T. The influence of spectral pretreatment on the selection of representative calibration samples for soil organic matter estimation using Vis-NIR reflectance spectroscopy. Remote Sens. 2019, 11(1), 450. [Google Scholar] [CrossRef]
- Zhou, X.; Zhang, Z.; Li, J.; Chen, S.; Liu, D. Rapid and non-destructive identification of walnut varieties based on near-infrared spectroscopy combined with chemometric methods. Appl. Food Res. 2026, 6, 102019. [Google Scholar] [CrossRef]
- Brasil, Y.L.; Cruz-Tirado, J.D.; Barbin, D.F. Fast online estimation of quail eggs freshness using portable NIR spectrometer and machine learning. Food Control 2022, 131, 108418. [Google Scholar] [CrossRef]
- Rieppo, L.; Saarakkala, S.; Närhi, T.; Helminen, H.J.; Jurvelin, J.S.; Rieppo, J. Application of second derivative spectroscopy for increasing molecular specificity of Fourier transform infrared spectroscopic imaging of articular cartilage. Osteoarthr. Cartil. 2012, 20(5), 451–459. [Google Scholar] [CrossRef] [PubMed]
- Dahiya, P.; Kucha, C.; Olaniyi, E.; Sial, A. Assessment of chemometric and deep learning models for blueberry authentication using visible and near-infrared spectral imaging. Food Control 2026, 184, 112027. [Google Scholar] [CrossRef]
- Huang, H.; Hu, X.; Tian, J.; Peng, X.; Luo, H.; Huang, D.; Zheng, J.; Wang, H. Rapid and nondestructive determination of sorghum purity combined with deep forest and near-infrared hyperspectral imaging. Food Chem. 2022, 377, 131981. [Google Scholar] [CrossRef] [PubMed]
- Altieri, G.; Laveglia, S.; Rashvand, M.; Genovese, F.; Matera, A.; Mininni, A.N.; Calabritto, M.; Di Renzo, G.C. Portable NIR Spectroscopy Combined with Machine Learning for Kiwi Ripeness Classification: An Approach to Precision Farming. Appl. Sci. 2025, 15, 6233. [Google Scholar] [CrossRef]
- Cheng, J.; Guo, W.; Zhang, Z.; Zeng, S.; Wang, Z. Optical properties of ‘Gala’ (Malus pumila) apple pulp and their relationship with internal quality. Infrared Phys. Technol. 2022, 123, 104210. [Google Scholar] [CrossRef]
- Rana, M.; Sharma, P. Proximate and phytochemical screening of the seed and pulp of Tamarind indica. J. Med. Plants Stud. 2018, 6(2), 111–115. [Google Scholar] [CrossRef]
- Dávila-Hernández, G.; Delgadillo-Arévalo, C.S.; Sánchez-Pardo, M.E.; Necoechea-Mondragon, H.; Ortiz-Moreno, A. Pretreatment of tamarind pericarp to increase antioxidant availability and its application in a functional food. J. Food Sci. Technol. 2020, 58(6), 2385–2394. [Google Scholar] [CrossRef] [PubMed]
- Ozaki, Y.; McClure, W.F.; Christy, A.A. Near-infrared Spectroscopy in Food Science and Technology. In Near-infrared Spectroscopy in Food Science and Technology; John Wiley & Sons, Inc, New Jersey, 2007. [Google Scholar]
- Posom, J.; Soonnamtiang, N.; Kotethum, P.; Konjun, P.; Sirisomboon, P.; Saengprachatanarug, K.; Wongpichet, S. Two different portables visible-near infrared and shortwave infrared region for on-tree measurement of soluble solid content of marian plum fruit. Eng. J. 2020, 24(1), 227–236. [Google Scholar] [CrossRef]
- Karabchevsky, A.; Kavokin, A.V. Giant absorption of light by molecular vibrations on a chip. Sci. Rep. 2016, 6(1), 21201. [Google Scholar] [CrossRef] [PubMed]
- Yang, X.; Liu, G.; He, J.; Kang, N.; Yuan, R.; Fan, N. Determination of sugar content in Lingwu jujube by NIR–hyperspectral imaging. J. Food Sci. 2021, 86(4), 1201–1214. [Google Scholar] [CrossRef] [PubMed]
- Caporaso, N.; Whitworth, M.B.; Fowler, M.S.; Fisk, I.D. Hyperspectral imaging for non-destructive prediction of fermentation index, polyphenol content and antioxidant activity in single cocoa beans. Food Chem. 2018, 258, 343–351. [Google Scholar] [CrossRef] [PubMed]
- Hbirkou, C.; Patzold, S.; Mahlein, A.K.; Welp, G. Airborne hyperspectral imaging of spatial soil organic carbon heterogeneity at the field-scale. Geoderma 2012, 175-176, 21–28. [Google Scholar] [CrossRef]







| Attribute | Sample Set | Number of samples | Minimum | Maximum | Average | Standard deviation |
|---|---|---|---|---|---|---|
| TSS 1 | Calibration | 80 | 59.67% | 80.33% | 75.17% | 3.46% |
| Prediction | 35 | 64% | 80.33% | 75.31% | 3.63% | |
| TA 2 | Calibration | 80 | 0.62% | 5.55% | 3.17% | 1.26% |
| Prediction | 35 | 0.71% | 5.46% | 3.10% | 1.30% | |
| TSS/TA ratio 3 | Calibration | 80 | 11.64 | 147.04 | 37.84 | 30.08 |
| Prediction | 35 | 14.31 | 114.36 | 36.42 | 26.25 |
| Preprocessing | Factors | TSS 2 (%) | Factors | TA 3 (%) | Factors | TSS/TA ratio 4 | |||
|---|---|---|---|---|---|---|---|---|---|
| Rcv 5 | RMSECV 6 (%) |
Rcv | RMSECV (%) |
Rcv | RMSECV | ||||
| Original | 9 | 0.859 | 1.989 | 5 | 0.794 | 0.767 | 6 | 0.824 | 16.995 |
| Smoothing | 7 | 0.882 | 1.810 | 4 | 0.724 | 0.863 | 4 | 0.787 | 18.421 |
| 1st derivative | 6 | 0.846 | 2.047 | 4 | 0.585 | 1.047 | 5 | 0.569 | 24.933 |
| 2nd derivative | 6 | 0.589 | 3.180 | 3 | 0.437 | 1.145 | 1 | 0.505 | 27.064 |
| MSC 7 | 9 | 0.814 | 2.249 | 3 | 0.698 | 0.902 | 3 | 0.692 | 21.690 |
| SNV 8 | 10 | 0.816 | 2.245 | 3 | 0.707 | 0.893 | 3 | 0.707 | 21.145 |
| 1st derivative + MSC | 6 | 0.814 | 2.237 | 3 | 0.434 | 1.179 | 2 | 0.501 | 26.953 |
| 1st derivative + SNV | 6 | 0.828 | 2.166 | 3 | 0.371 | 1.222 | 2 | 0.496 | 26.149 |
| Preprocessing | Factors | TSS 2 (%) | Factors | TA 3 (%) | Factors | TSS/TA ratio 4 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| c 5 | γ 6 | Rcv 7 | RMSECV 8 (%) | c | γ | Rcv | RMSECV (%) | c | γ | Rcv | RMSECV | |
| Original | 100 | 0.01 | 0.856 | 2.320 | 1 | 1 | 0.945 | 0.504 | 10 | 0.1 | 0.917 | 13.750 |
| Smoothing | 100 | 0.1 | 0.905 | 2.132 | 100 | 0.1 | 0.937 | 0.529 | 100 | 0.1 | 0.939 | 13.238 |
| 1st derivative | 10 | 0.01 | 0.934 | 2.024 | 1 | 0.01 | 0.907 | 0.593 | 100 | 0.01 | 0.962 | 11.103 |
| 2nd derivative | 100 | 0.01 | 0.933 | 2.025 | 1 | 0.01 | 0.903 | 0.700 | 1 | 0.01 | 0.938 | 12.807 |
| MSC 9 | 100 | 0.01 | 0.964 | 1.265 | 10 | 0.01 | 0.973 | 0.339 | 10 | 0.01 | 0.948 | 12.615 |
| SNV 10 | 100 | 0.01 | 0.937 | 1.583 | 10 | 0.01 | 0.932 | 0.904 | 10 | 0.01 | 0.952 | 12.287 |
| 1st derivative + MSC | 100 | 0.1 | 0.963 | 1.279 | 10 | 0.01 | 0.966 | 0.468 | 10 | 0.01 | 0.939 | 13.347 |
| 1st derivative + SNV | 100 | 0.1 | 0.966 | 1.242 | 10 | 0.01 | 0.971 | 0.449 | 10 | 0.1 | 0.947 | 12.676 |
| Attribute | Method | Preprocessing | Rc 9 | RMSEC 10 | Rp 11 | RMSEP 12 | |
|---|---|---|---|---|---|---|---|
| TSS 1 (%) | PLSR 4 | Smoothing | 0.919 | 1.510% | 0.730 | 11.877% | |
| Factors = 7 | |||||||
| SVMR5 | 1st derivative + SNV8 | 0.976 | 0.918% | 0.959 | 1.102% | ||
| c6= 100 | γ 7= 0.1 | ||||||
| TA 2 (%) | PLSR | Original | 0.860 | 0.638% | 0.684 | 0.974% | |
| Factors = 5 | |||||||
| SVMR | MSC13 | 0.980 | 0.349% | 0.961 | 0.369% | ||
| c = 10 | γ= 0.01 | ||||||
| TSS/TA Ratio 3 |
PLSR | Original | 0.887 | 13.804 | 0.772 | 18.298 | |
| Factors = 6 | |||||||
| SVMR | 1st derivative | 0.974 | 10.443 | 0.956 | 11.282 | ||
| c = 100 | γ= 0.01 | ||||||
| Statistical parameter | Calibration set | Prediction set |
|---|---|---|
| Number of Samples | 80 | 35 |
| Minimum | -1 | -1 |
| Maximum | 1 | 1 |
| Average | -0.55 | -0.54 |
| Standard deviation | 0.84 | 0.85 |
| Preprocessing | Factors | Standard (-1) | Off-standard (1) | % Accuracy |
% Specificity |
% Sensitivity |
% Error rate |
||
|---|---|---|---|---|---|---|---|---|---|
| TN 2 | FP 3 | TP 4 | FN 5 | ||||||
| Original | 4 | 58 | 4 | 4 | 14 | 77.50 | 93.55 | 22.22 | 22.50 |
| Smoothing | 5 | 59 | 3 | 6 | 12 | 81.25 | 95.16 | 33.33 | 18.75 |
| 1st derivative | 1 | 61 | 1 | 1 | 17 | 77.50 | 98.39 | 5.56 | 22.50 |
| 2nd derivative | 1 | 61 | 1 | 1 | 17 | 77.50 | 98.39 | 5.56 | 22.50 |
| MSC 6 | 4 | 57 | 5 | 7 | 11 | 80.00 | 91.94 | 38.89 | 20.00 |
| SNV7 | 5 | 56 | 6 | 10 | 8 | 82.50 | 90.32 | 55.56 | 17.50 |
| 1st derivative + MSC | 9 | 48 | 14 | 5 | 13 | 66.25 | 77.42 | 27.78 | 33.75 |
| 1st derivative + SNV | 1 | 62 | 0 | 1 | 17 | 78.75 | 100.00 | 5.56 | 21.25 |
| Preprocessing | Factors | Standard (-1) |
Off-standard (1) | % Accuracy |
% Specificity |
% Sensitivity |
% Error rate |
|||
|---|---|---|---|---|---|---|---|---|---|---|
| Nu 2 | γ 3 | TN | FP | TP | FN | |||||
| Original | 0.255 | 0.1 | 23 | 39 | 10 | 8 | 41.25 | 37.10 | 55.56 | 58.75 |
| Smoothing | 0.255 | 1 | 37 | 25 | 4 | 14 | 51.25 | 59.68 | 22.22 | 48.75 |
| 1st derivative | 0.01 | 1 | 45 | 17 | 10 | 8 | 68.75 | 72.58 | 55.56 | 31.25 |
| 2nd derivative | 0.01 | 1 | 42 | 20 | 11 | 7 | 66.25 | 67.74 | 61.11 | 33.75 |
| MSC 8 | 0.255 | 1 | 56 | 6 | 8 | 10 | 80.00 | 90.32 | 44.44 | 20.00 |
| SNV9 | 0.255 | 10 | 55 | 7 | 16 | 2 | 88.75 | 88.71 | 88.89 | 11.25 |
| 1st derivative + MSC | 0.01 | 0.01 | 31 | 31 | 14 | 4 | 56.25 | 50.00 | 77.78 | 43.75 |
| 1st derivative + SNV | 0.01 | 10 | 43 | 19 | 12 | 6 | 68.75 | 69.35 | 66.67 | 31.25 |
| Methods | Data sets | Preprocessing | Factors | Standard (-1) | Off-standard (1) | % Accuracy |
% Specificity |
% Sensitivity | % Error rate |
|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TN 1 | FP 2 | TP 3 | FN 4 | |||||||||
| PLS-DA 5 | Cal 7 | SNV 9 | 5 | 56 | 6 | 14 | 4 | 87.50 | 90.32 | 77.78 | 12.50 | |
| Pre 8 | 23 | 4 | 4 | 4 | 77.14 | 85.19 | 50.00 | 22.86 | ||||
| SVMC 6 | Cal | SNV | Nu 10 | γ11 | 55 | 7 | 16 | 2 | 88.75 | 88.71 | 88.89 | 11.25 |
| Pre | 0.255 | 10 | 22 | 5 | 7 | 1 | 82.86 | 81.48 | 87.50 | 17.14 | ||
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 (http://creativecommons.org/licenses/by/4.0/).