为快速、准确地判断小麦籽粒的霉变程度,研究基于太赫兹时域光谱技术,结合支持向量机(support vector machine,SVM)、随机森林(random forest,RF)和极限学习机(extreme learning machine,ELM)的霉变小麦定性分析方法。首先,将小麦籽粒分为正常、轻度霉变、中度霉变和重度霉变4 类,利用CCT-1800太赫兹时域光谱仪获取小麦样本在0.1~4.0 THz波段的光谱数据。对比采用不同光谱预处理方法对判别结果的影响后,使用主成分分析、线性判别分析(linear discriminant analysis,LDA)、t分布随机近邻嵌入3 种方法对光谱数据进行降维,结果表明LDA的降维效果最好。最后,构建基于SVM、RF和ELM的小麦霉变程度判别模型,结果显示SVM的判别效果最好,当核函数选择多项式核、误差惩罚系数为1时,判别准确率高达98.61%,预测集均方根误差值为0.142 9。本研究表明利用太赫兹光谱技术可实现小麦霉变程度的准确检测,为食品安全和粮食贮藏检测提供一种检测手段。
YANG Chenglin
,
LIU Jiaqi
,
GUO Yuncheng
,
XU Zhiyuan
,
ZHANG Siyi
,
YAO Zhifeng
,
QIN Lifeng
,
CHEN Xu
,
HE Dongjian
,
WEI Yahong
. 结合太赫兹光谱与机器学习的小麦霉变程度判别[J]. 食品科学, 2023
, 44(12)
: 343
-350
.
DOI: 10.7506/spkx1002-6630-20220727-304
In order to judge the mildew degree of wheat seeds quickly and accurately, this study proposed a qualitative analysis method for moldy wheat using terahertz time-domain (THz-TDS) spectroscopy combined with support vector (SVM), random forest (RF) or extreme learning machine (ELM). According to the content of aflatoxin B1 (AFB1), wheat seeds were classified into four types: normal, slight mildew, moderate mildew and severe mildew. Spectral data in the band of 0.1–4.0 THz were obtained using a CCT-1800 THz spectrometer. The effects of different spectral pretreatment methods on the results discrimination were examined, and three dimensionality reduction methods, principal component analysis (PCA), linear discriminant analysis (LDA), and t-distributed stochastic neighbor embedding (t-SNE), were used to reduce the dimension of spectral data. LDA was found to be the best method. Finally, a model based on SVM, RF or ELM was constructed. The SVM model had the best classification effect. When polynomial kernel function was chosen and error penalty coefficient was 1, the accuracy of discrimination was 98.61% and the root mean square error of prediction was 0.142 9. This study confirms that THz spectroscopy can be applied for accurate detection of wheat mildew, which can provide a detection approach for food safety and grain storage and detection.