首页|基于机器学习的政务微博情感分析模型设计

基于机器学习的政务微博情感分析模型设计

扫码查看
针对政务微博评论杂乱、审核困难的问题,提出一种基于机器学习的政务微博情感分析模型。该模型能够量化分析政务微博巾的情感,为自动审核提供有效依据。以2022年北京冬奥会和中国足协的微博为例,首先扩展与案例相关的词汇,并进行数据清洗和文本特征表示;然后采用机器学习模型进行情感倾向判断,并结合大连理工大学中文情感词汇文本计算情感强度。分别采用基于词袋模型和Word2vec模型的决策树、朴素贝叶斯和支持向量机模型进行预测,并对它们的性能进行对比评估。实验结果表明,在基于Word2vec的支持向量机模型下,情感分类的准确率达到84。3%,这表明所提模型在预测政务微博情感方面具有有效性,可应用于政务微博自动审核任务。
Design of a Machine Learning-Based Sentiment Analysis Model for Government Weibo
A machine learning-based sentiment analysis model for government Weibo is proposed to address the challenges posed by cluttered comments and subjective reviews.This model quantitatively analyzes sentiments on government Weibo,providing a reliable foundation for automatic reviews.Using the Weibo of the 2022 Beijing Winter Olympics and the Chinese Football Association as case studies,the methodology begins with the expansion of relevant vocabulary,followed by data cleaning and text feature representation.Subsequently,machine learning models are employed to assess emotional tendencies,and the Chinese sentiment lexicon from the Dalian University of Technology is utilized to calculate emotional intensity.This study employs decision trees,Naive Bayes,and Support Vector Machine(SVM)models,incorporating both bag-of-words and Word2vec models for sentiment prediction and performance comparison.The experimental results indicate that the SVM model using Word2vec achieves an accuracy of 84.3%in sentiment classification.This demonstrates the effectiveness of the proposed model in predicting sentiments on government Weibo,indicating its potential for automatic review tasks.

machine learninggovernment Weibosentiment intensitysentiment analysissentiment classification

张财、马自强、闫博

展开 >

宁夏大学信息工程学院,宁夏银川 750021

宁夏大数据与人工智能省部共建协同创新中心,宁夏银川 750021

机器学习 政务微博 情感强度 情感分析 情感分类

2024

计算机工程
华东计算技术研究所 上海市计算机学会

计算机工程

CSTPCD北大核心
影响因子:0.581
ISSN:1000-3428
年,卷(期):2024.50(12)