|
|
|
|
|
|
Identification of Corn Varieties Based on Bayesian Optimization SVM |
FENG Rui-jie1, CHEN Zheng-guang1, 2*, YI Shu-juan3 |
1. College of Information and Electrical Engineering, Heilongjiang Bayi Agricultural University, Daqing 163319, China
2. Technology Innovation Center for Heilongjiang Modern Agricultural Internet of Things, Daqing 163319, China
3. Heilongjiang Engineering Technology Research Center for Rice Ecological Seedings Device and Whole Process Mechanization, Daqing 163319, China
|
|
|
Abstract In order to detect corn varieties quickly, a classification model of corn varieties was established based on the combination of support vector machine (SVM) and near-infrared spectroscopy. 293 samples from five varieties, including Zhengdan 958, Xianyu 335, Jingke 968, Denghai 605 and Demeiya, were collected as research objects. After performing standard normal variable transformation (SNV) processing on the collected near-infrared spectra, the principal component analysis (PCA) method is used to reduce the dimensionality of the spectral data. According to the ratio of 6∶1, 251 samples were randomly selected as the training set and 42 samples as the test set to explore the influence of the Bayesian optimization (BO) algorithm on the performance of the SVM model. Three methods, including grid search(GS), genetic algorithm(GA) and BO algorithm, were used to optimize the two important parameters of the SVM model, namely, the penalty factor C and the radial basis kernel function parameter γ. The C and γ, corresponding to the highest recognition accuracy based on ten-fold cross-validation of each model, were used as modeling parameters, and the SVM classification model based on the three optimization algorithm methods were established. The SVM classification model based on BO is compared with the model based on GS and GA. The experimental results show that the performance of the SVM classification model optimized by BO is superior to that of the other two optimization algorithms, and the recognition accuracy on the test set can reach 100%. This shows that the parameters of the SVM model optimized by BO are the optimal global parameters, and the parameters optimized by the other two optimization algorithms may fall into the local optimal, resulting in poor performance of the model. BO-SVM models were established on the spectral data before and after PCA dimensionality reduction. The results show that BO is not good for high-dimensional data optimization, and it is more suitable for low dimensional data. For the problem of poor performance of the model caused by the imbalance of the number of different sample categories, the SVM models were re-established by removing the two small samples, Zheng Dan 958 and Xianyu 335, and using the remaining three categories, a total of 248 corn samples. The experimental results show that the performance of each model on the test set is improved after removing the two types of small samples, which indicates that for the problem of unbalanced sample number between classes, the more samples of a certain class, the more delicate the correction of model parameters, and the better the fitting effect of the model on this class. The results of this study can be used for rapid identification of corn varieties and can also provide references for the classification and origin identification of other agricultural products based on near-infrared spectroscopy.
|
Received: 2021-05-10
Accepted: 2021-07-05
|
|
Corresponding Authors:
CHEN Zheng-guang
E-mail: ruzee@sina.com
|
|
[1] GUO Wen-chuan, ZHU De-kuan, ZHANG Qian, et al(郭文川, 朱德宽, 张 乾, 等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2020, 51(9): 350.
[2] CEN Zhong-yong, LEI Shun-xin, LEI Lei, et al(岑忠用, 雷顺新, 雷 蕾, 等). Journal of Huazhong Agricutural University(华中农业大学学报), 2021, 40(3): 1.
[3] WANG Qiao-hua, MEI Lu, GAO Sheng, et al(王巧华, 梅 璐, 高 升, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2019, 35(24): 314.
[4] YANG Chen-yu, YUAN Hong-fei, MA Hui-ling, et al(杨晨昱, 袁鸿飞, 马惠玲, 等). Food and Fermentation Industries(食品与发酵工业), 2021, 47(7): 211.
[5] LEI Xiao-qing, WANG Xiu-li, LI Geng, et al(雷晓晴, 王秀丽, 李 耿, 等). Chinese Traditional and Herbal Drugs(中草药), 2019, 50(16): 3947.
[6] LI Jie, LI Shang-ke, JIANG Li-wen, et al(李 杰, 李尚科, 蒋立文, 等). Journal of Instrumental Analysis(分析测试学报), 2020, 39(11): 1344.
[7] GAO Hui-yu, WANG Zhu, ZHANG Xue-song, et al(高慧宇, 王 竹, 张雪松, 等). Chinese Journal of Food Hygiene(中国食品卫生杂志), 2020, 32(3): 244.
[8] JIA Yin-jiang, JIANG Tao, SU Zhong-bin, et al(贾银江, 姜 涛, 苏中滨, 等). Journal of Northeast Agricultural University(东北农业大学学报), 2020, 51(7): 77.
[9] Madina H, Fatema S. International Journal of Electrical and Computer Engineering, 2017, 7(5): 2555.
[10] HAN Wei-yu, CHENG Long-sheng(韩卫宇, 程龙生). Computer Engineering and Applications (计算机工程与应用), 2020, 57(6): 239.
[11] LI Yu, GONG Xue-liang, ZHAO Quan-hua(李 玉, 宫学亮, 赵泉华). Chinese Journal of Scientific Instrument(仪器仪表学报), 2020, 41(12): 253.
[12] Shahriari B, Swersky K, Wang Z, et al. Proceedings of the IEEE, 2015, 104(1): 148.
[13] SANG He-cheng, SONG Shuan-jun, XING Xu-peng, et al(桑和成, 宋栓军, 邢旭朋, 等). Journal of Xi’an Polytechnic University(西安工程大学学报), 2021, 35(1): 44.
[14] XU Jian, WANG Xin-yue, CAI Zi-xin, et al(徐 剑, 王馨月, 才子昕, 等). Journal of Frontiers of Computer Science and Technology(计算机科学与探索), 2020, 14(3): 401.
|
[1] |
GAO Feng1, 2, XING Ya-ge3, 4, LUO Hua-ping1, 2, ZHANG Yuan-hua3, 4, GUO Ling3, 4*. Nondestructive Identification of Apricot Varieties Based on Visible/Near Infrared Spectroscopy and Chemometrics Methods[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 44-51. |
[2] |
BAO Hao1, 2,ZHANG Yan1, 2*. Research on Spectral Feature Band Selection Model Based on Improved Harris Hawk Optimization Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 148-157. |
[3] |
LAN Yan1,WANG Wu1,XU Wen2,CHAI Qin-qin1*,LI Yu-rong1,ZHANG Xun2. Discrimination of Planting and Tissue-Cultured Anoectochilus Roxburghii Based on SMOTE and Inception-CNN[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 158-163. |
[4] |
WANG Cai-ling1,ZHANG Jing1,WANG Hong-wei2*, SONG Xiao-nan1, JI Tong3. A Hyperspectral Image Classification Model Based on Band Clustering and Multi-Scale Structure Feature Fusion[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 258-265. |
[5] |
WANG Hong-jian1, YU Hai-ye1, GAO Shan-yun1, LI Jin-quan1, LIU Guo-hong1, YU Yue1, LI Xiao-kai1, ZHANG Lei1, ZHANG Xin1, LU Ri-feng2, SUI Yuan-yuan1*. A Model for Predicting Early Spot Disease of Maize Based on Fluorescence Spectral Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3710-3718. |
[6] |
CHENG Hui-zhu1, 2, YANG Wan-qi1, 2, LI Fu-sheng1, 2*, MA Qian1, 2, ZHAO Yan-chun1, 2. Genetic Algorithm Optimized BP Neural Network for Quantitative
Analysis of Soil Heavy Metals in XRF[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3742-3746. |
[7] |
HU Cai-ping1, HE Cheng-yu2, KONG Li-wei3, ZHU You-you3*, WU Bin4, ZHOU Hao-xiang3, SUN Jun2. Identification of Tea Based on Near-Infrared Spectra and Fuzzy Linear Discriminant QR Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3802-3805. |
[8] |
LIU Xin-peng1, SUN Xiang-hong2, QIN Yu-hua1*, ZHANG Min1, GONG Hui-li3. Research on t-SNE Similarity Measurement Method Based on Wasserstein Divergence[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3806-3812. |
[9] |
SHEN Si-cong, ZHANG Jing-xue, CHEN Ming-hui, LI Zhi-wei, SUN Sheng-nan, YAN Xue-bing*. Estimation of Above-Ground Biomass and Chlorophyll Content of
Different Alfalfa Varieties Based on UAV Multi-Spectrum[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3847-3852. |
[10] |
BAI Xue-bing1, 2, SONG Chang-ze1, ZHANG Qian-wei1, DAI Bin-xiu1, JIN Guo-jie1, 2, LIU Wen-zheng1, TAO Yong-sheng1, 2*. Rapid and Nndestructive Dagnosis Mthod for Posphate Dficiency in “Cabernet Sauvignon” Gape Laves by Vis/NIR Sectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3719-3725. |
[11] |
WANG Qi-biao1, HE Yu-kai1, LUO Yu-shi1, WANG Shu-jun1, XIE Bo2, DENG Chao2*, LIU Yong3, TUO Xian-guo3. Study on Analysis Method of Distiller's Grains Acidity Based on
Convolutional Neural Network and Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3726-3731. |
[12] |
LUO Li, WANG Jing-yi, XU Zhao-jun, NA Bin*. Geographic Origin Discrimination of Wood Using NIR Spectroscopy
Combined With Machine Learning Techniques[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3372-3379. |
[13] |
ZHANG Shu-fang1, LEI Lei2, LEI Shun-xin2, TAN Xue-cai1, LIU Shao-gang1, YAN Jun1*. Traceability of Geographical Origin of Jasmine Based on Near
Infrared Diffuse Reflectance Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3389-3395. |
[14] |
YANG Qun1, 2, LING Qi-han1, WEI Yong1, NING Qiang1, 2, KONG Fa-ming1, ZHOU Yi-fan1, 2, ZHANG Hai-lin1, WANG Jie1, 2*. Non-Destructive Monitoring Model of Functional Nitrogen Content in
Citrus Leaves Based on Visible-Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3396-3403. |
[15] |
FANG Zheng, WANG Han-bo. Measurement of Plastic Film Thickness Based on X-Ray Absorption
Spectrometry[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3461-3468. |
|
|
|
|