Study on Online Detection Method of “Yali” Pear Black Heart Disease Based on Vis-Near Infrared Spectroscopy and AdaBoost Integrated Model
HAO Yong1, WANG Qi-ming1, ZHANG Shu-min2
1. School of Mechatronics and Vehicle Engineering, East China Jiaotong University, Nanchang 330013, China
2. Technology Center of Nanchang Customs District, Nanchang 330038, China
Abstract:Black heart disease is a physiological disease that occurs during the storage of “Yali” pears. The initial stage of the disease manifests itself in brown plaques on the inner core, but there is no difference in the appearance of the fruit from normal fruits, which seriously affects the storage time and quality of “Yali” pears. A fast and non-destructive testing method is urgently needed to escort the quality of “Yali” pears. The vis-near infrared spectroscopy method was used to explore the feasibility of online detection of “Yali” pear black heart disease, combined with principal component analysis (PCA), k-nearest neighbor (kNN), naive Bayes classifier (NBC), support vector machines (SVM), and integrated learning based on Adaboost modeling were used to identify “Yali” pear black heart disease. Standard normal variable (SNV), multiplicative scatter correction (MSC), Savitzky Golay first-derivative derivative (SG 1st-Der) and wavelet transform (WT) were used to preprocess the spectra. Adaboost integrates three base learners: kNN, NBC and SVM. A total of 285 samples, including 120 normal pears and 165 black hearted pears, divided into the training set and test set for model construction and evaluation. The harmonic average of the precision/recall rate (F-measure) and accuracy were used to optimize and evaluate the classification model. The results of the study show that the first three principal components of the spectrum of the samples of different attributes (normal and black heart) “Yali” pears were interlaced with each other, and it was difficult to distinguish the black heart pears visually. The F-measure and accuracy of the training set of the kNN model, in which the spectra of the samples were preprocessed by wavelet transform (the wavelet basis is “Haar”), were 78.98% and 82.62%, respectively. The F-measure and accuracy of the training set of NBC model after the Savitzky Golay first-derivative pretreatment were 80.90% and 82.11%, respectively. The F-measure and accuracy of the training set of SVM model after the wavelet transform pretreatment were 90.24% and 91.58%, respectively. The F-measure and accuracy of the training set of AdaBoost model after the wavelet transform pretreatment were 91.46% and 92.63% respectively. By verifying the model through the test set, it can be known that: the Adaboost classification model after the wavelet transform pretreatment was the best, and the F-measure reached 90.91%, which was 11.39%, 15.23% and 2.30% higher than that of WT-kNN model, SG 1st-Der-NBC model and WT-SVM model, respectively. Accuracy reached 92.63%, improved by 10.52%, 11.58% and 2.10% respectively. The calculation time of the model for the prediction of test set samples was about 0.12 s, which meets the requirements of online sorting. The combination of vis-near infrared spectroscopy and the AdaBoost classification method can provide a quick and easy analysis method for online detection of “Yali” pear blackheart disease.
郝 勇,王起明,张书敏. 可见-近红外光谱的鸭梨黑心缺陷在线检测AdaBoost集成模型研究[J]. 光谱学与光谱分析, 2021, 41(09): 2764-2769.
HAO Yong, WANG Qi-ming, ZHANG Shu-min. Study on Online Detection Method of “Yali” Pear Black Heart Disease Based on Vis-Near Infrared Spectroscopy and AdaBoost Integrated Model. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2021, 41(09): 2764-2769.
[1] Sun H J, Luo M L, Zhou X, et al. Food Chemistry, 2020, 306: 626.
[2] Zhou H S, Tian M Y, Huang W, et al. Gene Expression Patterns, 2020, 36: 113.
[3] LI Yue-yuan, FAN Xiao-lan, ZHANG Yin-yin, et al(李月圆, 樊晓岚, 张引引, 等). Food Technology(食品科技), 2018, 43(4): 23.
[4] Gabriëls S H E J, Mishra P, Mensink M G J, et al. Postharvest Biology and Technology, 2020, 166: 11206.
[5] Sun J, Künnemeyer R, McGlone A, et al. Computers and Electronics in Agriculture, 2018, 155: 32.
[6] Mogollon M R, Jara A F, Contreras C, et al. Postharvest Biology and Technology, 2020, 161: 60.
[7] Khatiwada B P, Subedi P P, Hayes C, et al. Postharvest Biology and Technology, 2016, 120: 103.
[8] Sun Xudong, Liu Yande, Li Yifan, et al. Postharvest Biology and Technology, 2016, 116: 80.
[9] Pan Z B, Wang Y D, Ku W P. Expert Systems with Applications, 2017, 67: 115.
[10] Zhang H, Liu C T, Mao J, et al. Toxicology in Vitro, 2020, 65: 812.
[11] PENG Yan-kun, ZHAO Fang, LI Long, et al(彭彦昆, 赵 芳, 李 龙, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2018, 34(5): 159.
[12] Shahraki Amin, Abbasi Mahmoud, Haugen Øystein. Engineering Applications of Artificial Intelligence, 2020, 94: 103.
[13] Berger A, Guda S. Pattern Recognition, 2020, 102: 107.
[14] HAO Yong, SHANG Qing-yuan, RAO Min, et al(郝 勇, 商庆园, 饶 敏, 等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2019, 39(3): 705.
[15] Li J L, Sun L J, Li R N. Optik, 2020, 206: 164.