Classification Method of Liquor Quality Based on Time and Frequency Spectrum Characteristics
ZHU Hai-jiang1, TANG Hao1, SUN Jing-xian1, DU Zhen-xia2
1. College of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China
2. College of Chemistry, Beijing University of Chemical Technology, Beijing 100029, China
Abstract:In order to establish a fast and accurate method for liquor quality identification, this paper uses the machine learning method to model liquor of different quality. To extract the characteristics of different quality liquor, we analyzed different quality liquor with the ion mobility spectroscopy, constructed the feature vectors based on the signal of ion mobility spectroscopy, and classified different quality liquor. The ion mobility spectroscopy signals of liquor samples were obtained using the Excellims GA2100 electrospray ionization mobility spectrometry (ESI-IMS). Each ion mobility spectroscopy signal is a time series signal with its intensity varying with time. In the aspect of feature extraction, the time-domain characteristic peaks of the original data were extracted. Fourier transform is performed on the data of ion mobility spectroscopyfor more comprehensive characteristics, and the characteristic peaks in the frequency domain were extracted. At the same time, in order to express the characteristics of signal change, the spectral entropy and zero-crossing rate of ion mobility spectroscopy were calculated, and the N×9 dimensional feature matrix was constructed; Then, principal component analysis (PCA) and linear discriminant analysis (LDA) were used to reduce the dimensions of the features. The cumulative contribution rate of the first three-dimensional features of PCA to the overall features is 95%. By contrast, the cumulative contribution rate of the first two-dimensional features of LDA is 95%. Therefore, LDA is chosen as the feature dimension reduction method; Finally, a support vector machine (SVM), a nonlinear classifier in machine learning, was used to classify liquor ion mobility spectrum data. The experimental results show that the correct classification rate of the SVM method is 100% in the classification of real liquor and liquor with added alcohol; The correct classification rate of the SVM method is 99.7% in the six classifications of real liquor and five kinds of fake liquor with 10%, 20%, 30%, 40% and 50% alcohol concentration respectively. In addition, this paper compared the results of classification of ion mobility spectroscopy of liquor samples by logistic regression analysis (LRM), fuzzy C-means (FCM) and k-nearest neighbor (KNN). The results show that the SVM method based on spectrum feature vector can accurately distinguish the real liquor and the liquor with added alcohol, which provides a new detection method for identifying liquor quality.
Key words:Ion mobility spectroscopy; Chinese liquor quality; Support vector machine (SVM); Time and frequency feature
祝海江,唐 昊,孙静娴,杜振霞. 基于时频谱特征的白酒品质分类方法研究[J]. 光谱学与光谱分析, 2021, 41(09): 2962-2968.
ZHU Hai-jiang, TANG Hao, SUN Jing-xian, DU Zhen-xia. Classification Method of Liquor Quality Based on Time and Frequency Spectrum Characteristics. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2021, 41(09): 2962-2968.
[1] Yu H Y, Ying B, Sun T, et al. Journal of Food Science, 2007, 72(3): E125.
[2] LÜ Hai-tang, REN Yan-rong, LI Chun-hua(吕海棠,任彦蓉,李春花). China Brewing(中国酿造), 2010, (10): 175.
[3] LI Jian, JIANG Xue(李 建, 姜 雪). China Brewing(中国酿造) , 2015, 34(1): 118.
[4] JIANG An, PENG Jiang-tao, PENG Si-long,et al(姜 安,彭江涛,彭思龙,等). Computers and Applied Chemistry(计算机与应用化学), 2010, 27(2): 233.
[5] Cozzolino D, Smyth H E, Gishen M. Journal of Agricultural and Food Chemistry, 2003, 51(26): 7703.
[6] Pontes M J C, Santos S R B, Araujo M C U, et al. Food Research International, 2006, 39(2): 182.
[7] ZHU Ling, CAI Jin-zhong, LIU Ben(朱 玲, 蔡尽忠, 刘 奔). Guangdong Chemical Industry(广东化工), 2020, (5): 22.
[8] LI Juan, GUO Ya-jie, ZHAO Wei-jun, et al(李 娟,郭亚洁,赵伟军,等). Journal of Food Safety & Quality(食品安全质量检测学报), 2014, 5(6): 1687.
[9] ZHANG Zhi-gang, LIN Li-yi, HAO Yu-lei, et al(张志刚,林立毅,郝玉蕾,等). Journal of Inspection and Quarantine(检验检疫学刊), 2016, 26(3): 18.