基于融合标签与蚁群的协同过滤微博推荐算法

2018-09-26 11:30:48李梁魏赟
软件导刊 2018年7期

李梁 魏赟

摘要:针对协同过滤算法中存在数据稀疏的问题,提出一种基于融合用户标签和蚁群的协同过滤微博推荐算法。将表示用户兴趣的标签引入推荐模型中,利用标签和用户以及标签和微博的关联度,建立用户对微博的兴趣度模型。另外结合蚁群聚类和协同过滤为目标用户进行用户聚类,计算出对目标用户的待推荐微博集。最后利用用户对微博的兴趣度模型从待推荐微博集中选出Top-N为目标用户进行推荐。实验引入标签和蚁群算法的有效性,将测试结果与传统协同过滤推荐算法和纯基于标签的微博推荐算法进行比较,该算法不仅改善了协同过滤算法中数据稀疏和冷启动的问题,而且推荐准确度有明显提高。

关键词:标签;文本分类;蚁群算法;协同过滤;微博推荐

DOI:10.11907/rjdk.172865

中图分类号:TP312

文献标识码:A文章编号:1672-7800(2018)007-0083-04

Abstract:Aimingattheproblemsofsparseandcoldstartofdatainmicro-blogrecommendation,thispaperproposesafusiontagandantcolonycollaborativefilteringmicro-blogrecommendationalgorithm.Thetagwillbeinterestedintherecommendedmodeltoestablishauserinterestratemodelofmicro-blogbyusingtherelevanceoftag-userandtag-blog.Inaddition,antcolonyclusteringandcollaborativefilteringforthetargetuserclusteringareusedtocalculatetherecommendedmicro-blogsetforthetargetusers.Finally,theuser'sinterestratemodelofmicro-blogfromtherecommendedmicro-blogisfocusedonTop-Nmicro-blogrecommendedforthetargetusers.Theresultsshowthatcomparedwiththetraditionalcooperativefilteringrecommendationalgorithmandthepurelybasedmicro-blogrecommendationalgorithm,thealgorithmnotonlyimprovesthedatasparseandcoldstartinthecooperativefilteringalgorithmoftheproblem,butalsotherecommendedaccuracyisimprovedsignificantly.

KeyWords:tag;textrank;antcolonyalgorithm;collaborativefiltering;micro-blogrecommendation

0引言

微博是近年來出现的一种新型社交网络服务,每天产生数十亿计的微博信息。如何从海量数据中挖掘出用户感兴趣的内容向其推荐,成为目前研究热点。

在众多推荐算法中,基于协同过滤的推荐算法应用最广,其基本思想是以目标用户为中心,然后为目标用户寻找有相似兴趣爱好的邻居用户,根据邻居用户对某个资源的评价情况,统计出得分较高的资源推荐给目标用户。不过由于用户对资源的评价存在数据稀疏问题,导致推荐算法性能下降。因此一些研究人员[1-6]将标签应用到协同过滤推荐算法中,通过实验验证可以改善推荐算法的数据稀疏问题;……

登录APP查看全文