河北大学学报(自然科学版) ›› 2023, Vol. 43 ›› Issue (6): 653-664.DOI: 10.3969/j.issn.1000-1565.2023.06.012

• • 上一篇    下一篇

基于蕴含情感要素用户正负偏好的电影推荐方法

张彬,董雅倩,徐建民   

  • 收稿日期:2023-02-23 出版日期:2023-11-25 发布日期:2023-12-15
  • 通讯作者: 徐建民(1966—)
  • 作者简介:张彬(1980—),男,河北涿州人,河北大学高级实验师,博士,主要从事信息检索方向研究.E-mail:zb@hbu.edu.cn
  • 基金资助:
    河北省社会科学基金资助项目(HB21TQ005)

A movie recommendation method based on the positive and negative preferences of users with emotional factors

ZHANG Bin, DONG Yaqian, XU Jianmin   

  1. School of Cyber Security and Computer, Hebei University, Baoding 071000, China
  • Received:2023-02-23 Online:2023-11-25 Published:2023-12-15

摘要: 针对现有基于用户正负偏好的电影推荐方法未充分考虑用户情感信息、用户正负偏好表示不够准确以及推荐效果不够理想的问题,提出一种利用评论中蕴含的用户情感改进其正负偏好,基于改进偏好实现电影推荐的方法.首先,构建电影领域情感词典,利用该词典实现对评论数据的挖掘与量化,得到用户评论的情感得分;然后,综合考虑用户的评分和评论情感得分计算用户对电影的喜好度,从而生成用户的正、负向偏好电影集合,并基于这2个集合构建用户的正、负向偏好特征向量,挖掘得到蕴含评论情感的用户正负偏好;最后,利用候选电影与用户正、负向偏好特征的相似度计算用户对候选电影的最终评分,实现电影推荐.基于豆瓣数据集的实验结果表明,本文方法的各项指标相对于传统方法有一定提升,其中F1、MAE和MAPE指标分别提升6.10%、3.32%、11.67%.

关键词: 电影推荐, 正向偏好, 负向偏好, 评论情感

Abstract: In the existing movie recommendation methods based on users positive and negative preferences. The users sentiment information was not fully considered, the users positive and negative preferences was not accurate enough, and the recommendation effect was not ideal. In this paper, a method is proposed to improve users positive and negative preferences by using users emotions contained in reviews, and the movie recommendation is realized based on the new preferences. Firstly, the sentiment dictionary in the field of movie was constructed, which is used to realize the mining and quantification of the review data and obtain the sentiment score of user reviews. Secondly, the users preference degree for movies was calculated in order to generate the users positive and negative preference movie sets by considering the users rating and the comment sentiment score comprehensively, then according to the two sets, the users positive and negative preference feature vectors were constructed, and the users positive and negative preferences containing user sentiment were mined. Finally, the similarity, which is between the candidate movie and the users positive and negative preference features, was used to calculate the users final rating for the candidate movie, and the movie recommendation was realized. Compared with traditional - DOI:10.3969/j.issn.1000-1565.2023.06.012基于蕴含情感要素用户正负偏好的电影推荐方法张彬,董雅倩,徐建民(河北大学 网络空间安全与计算机学院,河北 保定 071000)摘 要:针对现有基于用户正负偏好的电影推荐方法未充分考虑用户情感信息、用户正负偏好表示不够准确以及推荐效果不够理想的问题,提出一种利用评论中蕴含的用户情感改进其正负偏好,基于改进偏好实现电影推荐的方法.首先,构建电影领域情感词典,利用该词典实现对评论数据的挖掘与量化,得到用户评论的情感得分;然后,综合考虑用户的评分和评论情感得分计算用户对电影的喜好度,从而生成用户的正、负向偏好电影集合,并基于这2个集合构建用户的正、负向偏好特征向量,挖掘得到蕴含评论情感的用户正负偏好;最后,利用候选电影与用户正、负向偏好特征的相似度计算用户对候选电影的最终评分,实现电影推荐.基于豆瓣数据集的实验结果表明,本文方法的各项指标相对于传统方法有一定提升,其中F1、MAE和MAPE指标分别提升6.10%、3.32%、11.67%.关键词:电影推荐;正向偏好;负向偏好;评论情感中图分类号:TP391 文献标志码:A 文章编号:1000-1565(2023)06-0653-12A movie recommendation method based on the positive and negative preferences of users with emotional factorsZHANG Bin, DONG Yaqian, XU Jianmin(School of Cyber Security and Computer, Hebei University, Baoding 071000, China)Abstract: In the existing movie recommendation methods based on users positive and negative preferences. The users sentiment information was not fully considered, the users positive and negative preferences was not accurate enough, and the recommendation effect was not ideal. In this paper, a method is proposed to improve users positive and negative preferences by using users emotions contained in reviews, and the movie recommendation is realized based on the new preferences. Firstly, the sentiment dictionary in the field of movie was constructed, which is used to realize the mining and quantification of the review data and obtain the sentiment score of user reviews. Secondly, the users preference degree for movies was calculated in order to generate the users positive and negative preference movie sets by considering the users rating and the comment sentiment score comprehensively, then according to the two sets, the users positive and negative preference feature vectors were constructed, and the users positive and negative preferences containing user sentiment were mined. Finally, the similarity, which is between the candidate movie and the users positive and negative preference features, was used to calculate the users final rating for the candidate movie, and the movie recommendation was realized. Compared with traditional - 收稿日期:2023-02-23 基金项目:河北省社会科学基金资助项目(HB21TQ005) 第一作者:张彬(1980—),男,河北涿州人,河北大学高级实验师,博士,主要从事信息检索方向研究.E-mail:zb@hbu.edu.cn 通信作者:徐建民(1966—),男,河北馆陶人,河北大学教授,博士生导师,主要从事信息检索方向研究.E-mail:hbuxjm@hbu.edu.cn第6期张彬等:基于蕴含情感要素用户正负偏好的电影推荐方法methods, the experimental results based on Douban dataset show that the proposed method has certain improvements over the traditional methods, and the indexes of F1, MAE and MAPE are improved by 6.10%, 3.32% and 11.67%, respectively.

Key words: movie recommendation, positive preference, negative preference, review sentiment

中图分类号: