餐饮服务评价情感倾向分析——基于不同分类模型的比较
Analysis of Affective Tendency of Catering Service Evaluation—Comparison Based on Different Classification Models
DOI: 10.12677/AAM.2023.123096, PDF,   
作者: 蔡翔宇:成都信息工程大学,应用数学学院,四川 成都
关键词: 情感倾向分析数据分析K近邻LSTM模型Emotional Tendency Analysis Data Analysis K Nearest Neighbor LSTM Model
摘要: 餐饮业作为“永不落幕的黄金行业”,近年受网络发展与疫情的影响,呈现“堂食”与“外卖”并存之势。为提高餐饮业的竞争力,准确把握用户的需求倾向尤为重要,本文对不同餐饮企业的餐品评论数据进行数据分析,构建不同的分类模型对餐饮服务评论的情感倾向进行分析,并通过计算精确率、召回率以及F1-Score对模型性能和误差进行评估。分别构建K近邻分类模型、LSTM长短时记忆模型、BiLSTM模型,以及CNN-Multi-BiLSTM模型对情感倾向进行分类;结果表明CNN-Multi-BiLSTM模型具有较高准确性,平均精确率、召回率和F1-Socre分别达到了91.5%、91.35%,91.45%。因此,将CNN-Multi-BiLSTM模型用来评测餐饮服务评论数据,可让商家更加精准地把握用户需求,制定相应改进策略,提高其竞争力。
Abstract: The catering industry, as the “never ending gold industry”, has been affected by the development of the Internet and the epidemic in recent years, showing the coexistence of “sit-down food” and “take-out” trend. In order to improve the competitiveness of the catering industry, it is particularly important to accurately grasp the demand tendency of users. In this paper, data analysis was con-ducted on the food review data of different catering enterprises, different classification models were constructed to analyze the emotional tendency of food service reviews, and the model performance and error were evaluated by calculating the accuracy rate, recall rate and F1-Score. The K-nearest neighbor classification model, LSTM short and short term memory model, BiLSTM model, and CNN-Multi-BiLSTM model were constructed respectively to classify the emotional tendency. The re-sults show that the CNN-Multi-BiLSTM model has high accuracy, with the average accuracy rate, re-call rate and F1-Socre reaching 91.5%, 91.35% and 91.45%, respectively. Therefore, the CNN-Multi-BiLSTM model can be used to evaluate the data of catering service reviews, so that busi-nesses can more accurately grasp the needs of users, formulate corresponding improvement strat-egies and improve their competitiveness.
文章引用:蔡翔宇. 餐饮服务评价情感倾向分析——基于不同分类模型的比较[J]. 应用数学进展, 2023, 12(3): 940-952. https://doi.org/10.12677/AAM.2023.123096

参考文献

[1] 常亮, 邓小明, 周明全, 等. 图像理解中的卷积神经网络[J]. 自动化学报, 2016, 42(9): 1300-1312.
[2] 王作英, 肖熙. 基于段长分布的HMM语音识别模型[J]. 电子学报, 2004, 32(1): 46-49.
[3] 陈硕. 深度学习神经网络在语音识别中的应用研究[D]: [硕士学位论文]. 广州: 华南理工大学, 2013.
[4] 熊德意, 刘群, 林守勋. 基于句法的统计机器翻译综述[J]. 中文信息学报, 2008, 22(2): 28-39.
[5] 吴澄, 张涛. 智能无人系统: 新一代人工智能重要成果及其应用[J]. 信息与电子工程前沿(英文), 2020, 21(5): 649-654.
[6] Langley, P., Iba, W. and Thompson, K. (1992) An Analysis of Bayesian Classifiers. Proceedings of the 10th National Conference on Artificial Intelligence, San Jose, 12-16 July 1992, 223-228.
[7] McCallum, A. and Nigam, K. (1998) A Comparison of Event Models for Naive Bayes Text Classification. In: AAAI-98 Workshop on Learning for Text Categorization, AAAI Press, 41-48.
[8] 陈治平, 王雷. 基于自学习K近邻的垃圾邮件过滤算法[J]. 计算机应用, 2005, 25(S1): 7-8.
[9] Zhou, Y., Li, Y. and Xia, S. (2009) An Improved KNN Text Classification Algorithm Based on Clustering. Journal of Computers, 4, 230-237. [Google Scholar] [CrossRef
[10] Wang, Z.-Q., Sun, X., Zhang, D.-X. and Li, X. (2006) An Optimal SVM-Based Text Classification Algorithm. 2006 International Conference on Machine Learning and Cyber-netics, Dalian, 13-16 August 2006, 1378-1381. [Google Scholar] [CrossRef
[11] 崔建明, 刘建明, 廖周宇. 基于SVM 算法的文本分类技术研究[J]. 计算机仿真, 2013, 30(2): 299-302.
[12] Hinton, G.E. and Salakhutdinov, R.R. (2006) Reducing the Dimen-sionality of Data with Neural Networks. Science, 313, 504-507. [Google Scholar] [CrossRef] [PubMed]
[13] Hinton, G.E., Osindero, S. and Teh, Y.-W. (2006) A Fast Learning Algorithm for Deep Belief Nets. Neural Computation, 18, 1527-1554. [Google Scholar] [CrossRef] [PubMed]
[14] Liu, P., Oiu, X. and Huang, X. (2016) Recurrent Neural Net-work for Text Classification with Multi-Task Learning. Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, New York, 9-15 July 2016, 2873-2879.
[15] Hochreiter, S. and Schmidhuber, J. (1997) Long Short-Term Memory. Neural Computation, 9, 1735-1780. [Google Scholar] [CrossRef] [PubMed]
[16] Tang, D., Qin, B. and Liu, T. (2015) Document Modeling with Gated Recurrent Neural Network for Sentiment Classification. Proceedings of the 2015 Conference on Empirical Meth-ods in Natural Language Processing, Lisbon, 17-21 September 2015, 1422-1432. [Google Scholar] [CrossRef
[17] Kim, Y. (2014) Convolutional Neural Networks for Sentence Classifi-cation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, Doha, 25-29 Octo-ber 2014, 1746-1751. [Google Scholar] [CrossRef
[18] Zhou, C., Sun, C., Liu, Z. and Lau, F.C.M. (2015) A C-LSTM Neural Network for Text Classification. Computer Science, 1, 39-44.
[19] Hu, J., Shen, L. and Sun, G. (2017) Squeeze-and-Excitation Networks. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, 18-23 June 2018, 7132-7141. [Google Scholar] [CrossRef
[20] Li, X., Wang, W., Hu, X. and Yang, J. (2019) Selective Kernel Networks. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, 15-20 June 2019, 510-519. [Google Scholar] [CrossRef
[21] Vaswani, A., Shazeer, N.M., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L. and Polosukhin, I. (2017) Attention Is All you Need. ArXiv: 1706.03762.
[22] 于庆洋. 基于LSTM结合注意力机制的长文本分类优化研究[J]. 互联网周刊, 2023(3): 90-92.
[23] 冯宇航, 邵剑飞, 张小为, 邵建龙. 基于特征融合的中文新闻文本情感分类方法研究[J]. 现代电子技术, 2023, 46(3): 62-68. [Google Scholar] [CrossRef
[24] 王佳慧. 基于CNN与Bi-LSTM混合模型的中文文本分类方法[J]. 软件导刊, 2023, 22(1): 158-164.