Portable Vis/NIR Spectroscopy Combined with Optimized SVM for Grade Classification of Apple Watercore
To achieve rapid and non-destructive detection of watercore in apples, the apple Vis–NIR spectral data were used as the research object in this study. A total of 256 × 2 wavelength-based spectral features were extracted, followed by dimensionality reduction via PCA. Subsequently, four machine learning classification models—PLS-DA, SVM, Logistic Regression, and Random Forest—were constructed to identify apples with varying severities of watercore. The results showed that the SVM model achieved the optimal comprehensive performance, with an accuracy of 85.30% and a precision of 91.67% on 34 independent test samples. The five-fold cross-validation accuracy of SVM reached 87.20%, indicating the best generalization stability among the four models. PCA analysis showd that after dimensionality reduction of the core wavelength bands obtained via feature screening, eight principal components can cumulatively explain 95.1% of the total spectral variance; normal apples and watercore-affected apples exhibited significant distribution differences in the principal component space. This study adopted a preprocessing scheme that combined feature selection with SMOTE sample balancing, which effectively alleviated the impact of class imbalance on model performance. It also indicated that insufficient fine-grained classification accuracy and the low recall rate of watercore samples was the key directions for subsequent optimization.
Authors
- Tetsuya Inagaki (ORCID: https://orcid.org/0000-0002-5382-1940)
- Satoru Tsuchikawa (ORCID: https://orcid.org/0000-0003-1832-126X)
- Yu Xia (ORCID: https://orcid.org/0000-0002-1809-4362)
- Te Ma (ORCID: https://orcid.org/0009-0008-3061-4392)
- Yuteng Zhang (ORCID: https://orcid.org/0000-0003-1839-6421)
- Wenjun Qin
- Chaozhou Zhang
- Wanqi Zhang
Institutions
- Shaanxi University of Science and Technology (CN)
- Nagoya University (JP)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-09-04
- DOI
- https://doi.org/10.3390/app16178793
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- China Scholarship Council
- Education Department of Shaanxi Province
- Xi'an Science and Technology Association