{"id":20101315,"url":"https://github.com/songwo-153/collaborativefilteringnewsrecommendsystem","last_synced_at":"2025-06-19T04:37:52.780Z","repository":{"id":179409865,"uuid":"663446418","full_name":"songwo-153/CollaborativeFilteringNewsRecommendSystem","owner":"songwo-153","description":" 基于协同过滤算法的个性化新闻推荐系统的设计与实现（采用Java语言的SpringBoot和SSM两种框架分别实现基于用户、物品的协同过滤推荐算法）","archived":false,"fork":false,"pushed_at":"2025-02-17T17:24:04.000Z","size":7515,"stargazers_count":28,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T16:21:19.765Z","etag":null,"topics":["collaborative-filtering","java","javascript","mybatis","mysql","recommendation-algorithm","spring","springboot","springmvc","ssm"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/songwo-153.png","metadata":{"files":{"readme":"README.md","changelog":"NewsRecommendSystem.zip","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-07T10:02:36.000Z","updated_at":"2025-03-25T06:14:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"6df997f4-5a57-493d-9c6c-f46b1a5dd5da","html_url":"https://github.com/songwo-153/CollaborativeFilteringNewsRecommendSystem","commit_stats":null,"previous_names":["songwo-153/newsrecommendonline","songwo-153/collaborativefilteringnewsrecommendsystem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/songwo-153/CollaborativeFilteringNewsRecommendSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songwo-153%2FCollaborativeFilteringNewsRecommendSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songwo-153%2FCollaborativeFilteringNewsRecommendSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songwo-153%2FCollaborativeFilteringNewsRecommendSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songwo-153%2FCollaborativeFilteringNewsRecommendSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/songwo-153","download_url":"https://codeload.github.com/songwo-153/CollaborativeFilteringNewsRecommendSystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songwo-153%2FCollaborativeFilteringNewsRecommendSystem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260689440,"owners_count":23047040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collaborative-filtering","java","javascript","mybatis","mysql","recommendation-algorithm","spring","springboot","springmvc","ssm"],"created_at":"2024-11-13T17:24:36.959Z","updated_at":"2025-06-19T04:37:47.766Z","avatar_url":"https://github.com/songwo-153.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 基于协同过滤推荐算法的个性化新闻推荐系统\n# Collaborative Filtering News Recommend System \n基于协同过滤算法的个性化新闻推荐系统的设计与实现（采用Java语言的SSM框架实现基于用户和物品的协同过滤推荐算法）实现了UserCF和ItemCF的协同过滤推荐算法，\nJava语言（SSM框架）实现协同过滤算法的个性化新闻推荐系统，使用**基于用户和物品的协同过滤推荐算法**通过爬虫爬取环球日报新闻实现**实时计算推荐**。\n\n## 项目在线演示地址：\n[前台演示地址（用谷歌浏览器）：http://124.71.65.53:8081/NewsRecommendOnline/](http://124.71.65.53:8081/NewsRecommendOnline/)      \n  \n[后台演示地址（用谷歌浏览器）：http://124.71.65.53:8081/NewsRecommendOnline/admin/login](http://124.71.65.53:8081/NewsRecommendOnline/admin/login)    \n\n[第二个新闻推荐前台演示地址：http://124.71.65.53:8090/WebNewsRecommendSystem/](http://124.71.65.53:8090/WebNewsRecommendSystem/)    \n\n[第二个新闻推荐后台演示地址：http://124.71.65.53:8090/WebNewsRecommendSystem/admin/login](http://124.71.65.53:8090/WebNewsRecommendSystem/admin/login)     \n\n**源码获取**：点我头像进入我的主页在资源栏目下查找或者下方链接\n[https://download.csdn.net/download/weixin_46115961/88599510](https://download.csdn.net/download/weixin_46115961/88599510)\n\n**项目系统创新点**：\n\n使用了基于用户和基于物品，根据评分和收藏数据，进行混合推荐，及将两种协同过滤\n推荐算法的结果全部输出，同时采用基于用户选择的新闻类型喜好标签统计的热点推荐解决冷启动和数据稀疏性问题。\n\n**冷启动**：一个新用户第一次登录，没有评分和收藏数据，那么没有办法进行个性化推荐；\n\n**数据稀疏性**：会伴随项目的整个运行过程，比如：项目刚上线，新闻数据很多，但是用户及用户的评分、收藏数据较少，用户之间没有交集，那么有些用户就没有推荐结果\n\n**开发工具**：IDEA，jdk1.8，Mysql8，navicat数据库管理工具，Tomcat。\n\n**后端使用**：SSM(Spring+SpringMVC+Mybatis)开发框架。\n\n**前端使用**：javascript脚本，jquery脚本，用户端使用bootstrap前端框架，管理员端使用layui前端框架，layer弹窗组件等。\n\n# 功能实现\n\n**系统前台**：用户具有注册、登录、注销、浏览新闻、搜索新闻、信息修改、密码修改、喜好标签、新闻评分、新闻收藏、新闻评论、排行榜、热点推荐、个性化推荐新闻等功能；\n\n**后台管理系统**：管理员可以查看数据统计、用户管理、新闻管理、新闻类型管理、评分管理、收藏管理、评论管理、浏览记录管理、用户喜好标签等。\n\n**协同过滤推荐功能**：\n\n 1. **热点榜单**\n\n\t 根据数据库的新闻数据查询浏览数量最多的新闻进行推荐，同时查询出来的是不包括当前登录用户已经浏览过的新闻（过滤当前用户已经浏览过的新闻）；\n\n2. **个性化推荐**\n    \n    2.1. **游客**：根据新闻总评分和总收藏数量降序查询输出向游客推荐。\n   \n    2.2. **登录用户**：\n   \n    **基于用户的协同过滤推荐算法**：根据新闻的评分数据采用基于用户的协同过滤推荐算法实时计算向用户进行新闻推荐；如果没有推荐结果，采用根据登录用户选择的喜好标签下的新闻的总评分降序推荐，同时推荐的新闻是过滤掉当前登录用户已经评分过的新闻；\n   \n   **基于项目的协同过滤推荐算法**：根据新闻的收藏数量采用基于项目的协同过滤推荐算法从高到低降序向用户进行推荐；如果没有推荐结果，采用根据登录用户喜好标签下的新闻的收藏数量降序推荐，同时推荐的是当前登录用户没有收藏过的新闻。\n   \n 5. **相关推荐**\n 6. \n     推荐当前登录用户正在浏览的新闻相同类型下评分较高的新闻，同时推荐的是当前用户没有评分的新闻。\n    \n**新闻数据来源**：爬取环球日报新闻数据     **源码获取**： +v：18484646674   +QQ:2474345497\n\n**项目结构**\n![项目结构](https://img-blog.csdnimg.cn/direct/76890d003dd74430930e6835e44752a9.png#pic_center)\n![数据库](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/e4dfeab7-f776-4e1e-a126-957baca47914)\n\n**前台系统**\n![首页](https://github.com/user-attachments/assets/3551bc7c-9580-41db-803e-5cb49bd511d0)\n![详情查看](https://github.com/user-attachments/assets/a3d30f76-179b-4db7-b6ea-4aea2e9614db)\n![登录](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/cfce9455-8ac7-40fa-b0c6-906ccc5e8c49)\n![登录选择喜好标签](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/3ac79cf4-fcdb-47dc-90bd-4fb2bb17d2d0)\n![Inked个人中心](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/eae37196-e3f7-4526-80db-56c951a7a449)\n![Inked个人中心密码修改](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/c82926f8-b0ef-46f1-a405-1e5975d5772f)\n![Inked我的收藏](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/350c5de8-920d-41ff-920c-381c155fd50a)\n![兴趣标签](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/eda8c24e-5c5f-4e14-b6d3-adc854dff36b)\n**后台管理系统**\n![后台登录](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/d8e10202-902f-4f06-bc7b-ecc7b8cf033d)\n![后台首页](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/cda419f1-17c6-411b-8a61-0c1ae9ab2246)\n![Inked新闻管理](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/22526ea5-4cf9-4ef3-9cb9-2d49165462ea)\n![Inked用户管理](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/06fa51b6-3db7-461d-8fbd-c5ff0ad2fd42)\n![Inked管理员管理](https://github.com/songwo-153/NewsRecommendOnline/assets/86769062/ab09605d-5a8f-4978-a9d7-959bdf8147e8)\n**协同过滤算法推荐结果运行图**\n![01基于用户推荐](https://github.com/user-attachments/assets/cc20b39f-0f62-465e-b619-a55222973e23)\n![基于物品的推荐](https://github.com/user-attachments/assets/4b472d86-ad77-4c65-a511-2d4557f692b3)\n![微信图片编辑_20241210133240](https://github.com/user-attachments/assets/ee59b40a-f2e4-469c-969b-67b7ee89337e)\n\n\n**新闻数据爬虫：**\n![Pythom爬取环球网新闻数据](https://github.com/user-attachments/assets/3459dcfc-8a05-40e6-949f-68e1b94db271)\n\n**源码获取**：[基于协同过滤算法新闻推荐系统源码.zip](https://github.com/songwo-153/CollaborativeFilteringNewsRecommendSystem/files/13557079/default.zip)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsongwo-153%2Fcollaborativefilteringnewsrecommendsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsongwo-153%2Fcollaborativefilteringnewsrecommendsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsongwo-153%2Fcollaborativefilteringnewsrecommendsystem/lists"}