- 资源介绍
- 更新记录
- 安装教程
项目介绍
系统说明
设计总说明
本文设计了一个个性化电影推荐系统.众所周知,现在电影资源是网络资源的重要组 成部分,随着网络上电影资源的数量越来越庞大,设计电影个性化推荐系统迫在眉睫.所 以本文旨在为每一个用户推荐与其兴趣爱好契合度较高的电影.
论文首先阐述推荐系统的研究现状以及意义,随后介绍了相关的推荐算法,重点介绍 协同过滤算法,并对系统实现所需技术进行了研究,接着介绍了整个推荐系统的实现,最 后对整个项目进行了回顾与总结.
本系统包含电影前端展示界面、电影评分板块、推荐算法的实现以及后端数据库的设 计.其中实现推荐算法是整个电影推荐系统的核心.系统采用由grouplens项目组从美国著名 电影网站movielens整理的ml-latest-small数据集,该数据集包含了671个用户对9000多部电 影的10万条评分数据.首先将该数据集包含的全部文件经过筛选重组之后存储到建好的数 据库中,并将数据集按一定比例划分为训练集和测试集,对训练集进行算法分析生成Top-N 个性化电影推荐列表,然后在测试集上对算法进行评测,至少包括准确率和召回率两种评 测指标.
协同过滤算法是推荐领域最出名也是应用最广泛的推荐算法.所以系统拟采用两种协 同过滤算法给出两种不同的推荐结果,一种是基于用户的协同过滤算法,另一种是基于物 品的协同过滤算法,用户可以根据两种推荐结果更加合理的选择合适的电影.系统采用了 改进之后的ItemCF-IUF和UserCF-IIF算法,对计算用户相似度和物品相似度的计算都做出 了改进.最后通过计算两种算法的准确率(Precision)、召回率(Recall)和流行度从而对系 统进行评测、并比较了两种算法各自的优势和劣势.实验证明,改进后的算法比原始的协 同过滤算法推荐效果要好,准确率更高.
整个系统涉及到的编程语言包含Python、Html5、JQuery、CSS3以及MySQL数据库编 程.用到的框架是Django重量级web框架,通过该框架连接系统的前、后端.用户首先需要 填写用户名、密码以及邮箱注册系统,然后才能登陆推荐系统.进入首页后会看到8个电影 分类,包括恐怖片、动作片、剧情片等.用户需要给自己看过的电影进行评分,评分起止 为0.5-5.0分,共10个分段.每评价一部电影就要点击一下提交按钮,将所评分的电影的 imdbId号以及对应的评分存入数据库中.用户点击“推荐结果”按钮,系统就调用推荐算法 遍历数据库所存数据,得出推荐列表之后将结果反馈给浏览器,同时调取数据库所存电影 海报图片进行展示.用户点击自己登陆的昵称,会跳转页面显示自己已经评价过的电影.
本文还分析了系统的需求,并对需求进行相关设计,最后用Django框架实现了该系统, 并给出了系统所用的主要数据表展示以及各个功能界面的展示.
关键词:电影推荐系统;协同过滤;基于邻域推荐;个性化服务
I
Abstract
DESIGN GENERAL DESCRIPTION
This paper designs a personalized movie recommendation system. As we all know, nowdays, film resources are an important part of network resources. The number of film resources on the Internet is increasing. Designing a personalized movie recommendation system is imminent. Therefore, this project aims to implement a personalized movie recommendation system, recommending movies for each user in accordance with their interests.
The paper elaborates the research status and significance of the recommendation system firstly. Then it introduces the related recommendation algorithm, focuses on the collaborative filtering algorithm, and studies the required technology of the system implementation. Then it introduces the implementation of the entire recommendation system, finally reviews and summarizes the whole system.
The system includes the front-end display interface of the movie, the movie scoring board, the implementation of the recommendation algorithm, and the design of the back-end database. The implementation of the recommendation algorithm is the core of the entire movie recommendation system. The system plans to adopt the ml-latest-small dataset organized by the grouplens project team from the famous movie site movielens in the United States. This dataset contains 671 user ratings data for more than 9,000 movies. Firstly, the csv file included in the data set is stored in the database. The data set is divided into training set and test set. Algorithm analysis of the training set generates Top-N personalized movie recommendation list, and then the algorithm is evaluated on the test set, there include at least two indicators of test: accuracy and recall.
Collaborative filtering algorithms are the best known and most widely used recommendation algorithms. Therefore, the system proposes two collaborative filtering algorithms to give two different recommendation results. One is a user-based collaborative filtering algorithm, and the other is an item-based collaborative filtering algorithm. Users can make more reasonable choices based on the two recommended results. The right movie. The improved ItemCF-IUF and UserCF-IIF algorithms are used in the system to improve the calculation of user similarity and item similarity. Finally, the system is evaluated by calculating the precision, recall and popularity of the two algorithms, and the advantages and disadvantages of the two algorithms are compared. Experiments show that the improved algorithm is better than the original collaborative filtering algorithm and the accuracy is higher.
The programming languages involved in the entire system include Python, Html5, JQuery, CSS3 and MySQL database programming. The framework used is django’s heavyweight web framework, connecting the system’s front and back ends via the Django framework. The user first needs to fill in the username, password, and email registration system before logging in to the recommendation system. After entering the front page, you will see 8 movie categories, including horror films, action films, drama films, etc. Users need to rate the movies they have seen. The score starts from 0.5-5.0 points, a total of 10 segments. Each time you evaluate a movie, you must click the submit button to save the imdbId number of the movie you are rating
and the corresponding rating into the database. When the user clicks the “ recommendation
result” button, the system invokes the recommendation algorithm to traverse the data stored in
III
Design General Description
the database, and after the recommendation list is obtained, the result is fed back to the browser, and the movie poster picture stored in the database is retrieved for display.When the user clicks on the nickname that he or she login, he will jump to the page to show the movie he has already evaluated.
This article also analyzes the requirements of the system, and related design of the requirements. Finally, the system is implemented using the Django framework, and given the main data table and function interface display .
Keywords: Movie recommendation system; Collaborative Filtering; criterion; Based on neighborhood recommendation; Personalized service
目录
目录
第 1 章 绪论……………………………………………………………………………………………………………………………………………. 1
1.1 研究背景及意义…………………………………………………………………………………………………………………….. 1
1.2 国内外研究现状…………………………………………………………………………………………………………………….. 1
1.3 本文研究目标和研究内容……………………………………………………………………………………………………… 4
1.4 论文结构安排………………………………………………………………………………………………………………………… 4
第 2 章 推荐算法的研究…………………………………………………………………………………………………………………………. 7
2.1 推荐算法简介………………………………………………………………………………………………………………………… 7
2.1.1 协同过滤算法……………………………………………………………………………………………………………… 7
2.1.2 基于内容的推荐算法………………………………………………………………………………………………….. 7
2.1.3 基于标签的推荐算法………………………………………………………………………………………………….. 7
2.2 系统实现算法介绍…………………………………………………………………………………………………………………. 8
2.2.1 基于用户的协同过滤算法…………………………………………………………………………………………… 8
2.2.2 基于物品的协同过滤算法…………………………………………………………………………………………… 8
2.3 相似度计算……………………………………………………………………………………………………………………………. 9
2.4 推荐算法评测指标………………………………………………………………………………………………………………. 10
2.4.1 评分预测…………………………………………………………………………………………………………………… 10
2.4.2 TopN 推荐………………………………………………………………………………………………………………… 10
2.5 本章小结……………………………………………………………………………………………………………………………… 10
第 3 章 实验设计及系统实现相关技术的研究……………………………………………………………………………………… 11
3.1 实验设计及结果分析…………………………………………………………………………………………………………… 11
3.1.1 实验环境…………………………………………………………………………………………………………………… 11
3.1.2 实验设计…………………………………………………………………………………………………………………… 11
3.2 系统实现相关技术的研究……………………………………………………………………………………………………. 14
3.2.1 Python 语言研究………………………………………………………………………………………………………… 15
3.2.2 Django 框架研究………………………………………………………………………………………………………… 15
3.2.3 MySQL 数据库研究……………………………………………………………………………………………………. 16
3.3 本章小结……………………………………………………………………………………………………………………………… 17
第 4 章 推荐系统的设计与实现……………………………………………………………………………………………………………. 19
4.1 国内外主流视频网站推荐效果调研…………………………………………………………………………………….. 19
4.1.1 国内视频网站调研……………………………………………………………………………………………………. 19
4.1.2 国外视频网站调研……………………………………………………………………………………………………. 20
4.2 需求分析……………………………………………………………………………………………………………………………… 21
4.3 用户功能需求………………………………………………………………………………………………………………………. 21
4.4 系统设计……………………………………………………………………………………………………………………………… 21
4.4.1 系统总体架构……………………………………………………………………………………………………………. 21
4.4.2 系统功能模块简述……………………………………………………………………………………………………. 23
4.5 数据库介绍与设计………………………………………………………………………………………………………………. 32
4.5.1 实验数据集介绍………………………………………………………………………………………………………… 32
i
4.5.2 数据库逻辑结构设计………………………………………………………………………………………………… 33
4.5.3 系统 E-R 图…………………………………………………………………………………………………………………. 34
4.5.4 系统数据表设计………………………………………………………………………………………………………… 35
4.6 本章小结………………………………………………………………………………………………………………………………. 36
第 5 章 总结与展望…………………………………………………………………………………………………………………………….. 39
5.1 总结……………………………………………………………………………………………………………………………………….. 39
5.2 不足之处及未来展望…………………………………………………………………………………………………………….. 39
参考文献……………………………………………………………………………………………………………………………………………… 41
致 谢…………………………………………………………………………………………………………………………………………………. 43
附录 A: 作者在校期间发表的论文……………………………………………………………………………………………………. 45
附录 B: 代码………………………………………………………………………………………………………………………………………. 47
适用场景:
毕业论文、课程设计、公司项目参考
运行截图
关注【程序代做 源码分享】公众号获取更多免费源码!!!
猜你喜欢
-
拖拽添加文字水印
2021-09-07 -
boostrap webapp电商前端页面
2021-05-14 -
h5 pc摄像头
2021-10-25 -
html前端校园介绍网页10多个页面
2021-05-14 -
商城前端html源码
2021-07-08 -
环保5页面
2021-05-18 -
公司网站9页面
2021-05-18 -
html前端保护树木公益5网页
2021-05-14 -
html网上订餐页面
2021-05-20 -
简单学生北京介绍页面
2021-05-18
-
Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu)
2021-05-18 -
军事推荐系统页面
2021-05-18 -
html前端6页面旅游网页
2021-05-12 -
html前端6个页面个人简历
2021-05-14 -
html页面旅游网页前后台页面
2021-05-28 -
旅游网页6页面,湘西+课程设计报告+毕业论文
2021-09-07 -
html前端紫色个人简介网页源码
2021-05-12 -
图片上生成水印图片并保存合并图片升级版
2021-09-07 -
html美食展示页面
2021-05-20 -
java springboot+vue的在线学习平台前后端源码
2021-05-28
猜你在找
99源码网 » python个性化电影推荐第三版源码+论文
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 99源码网
- 2021-05-22Hi,初次和大家见面了,请多关照!