Comments (7)
方便把你的代码在github里用一个repo分享一下嘛?我直接download一下看看
from newsrecommendsystem.
@bluemapleman https://github.com/DLUTfangping/recommendation_system/tree/master/NewsRecommendSystem-master
这是地址,谢谢了,数据库的表我只改了user_id的类型,改成了varchar,users表关联的其他表的user_id也更改了类型。
from newsrecommendsystem.
@bluemapleman 不知博主是否也会出现同样的问题呢?
from newsrecommendsystem.
@bluemapleman 已解决。。。但是对于用户id为string 类型的时候,在协同过滤貌似不可以,因为默认的用户ID为Long 类型,不知博主是否发现了这个问题。
from newsrecommendsystem.
是这样的,协同过滤因为用的mahout的库,但是mahout默认是表的id得为long,所以这确实是个问题,如果要适配string类型的id,可能只能自己实现协同过滤。
from newsrecommendsystem.
@bluemapleman 博主的想法有点类似Rocchio算法的**呢只是博主并没有像Rocchio算法那样做特征工程而已,感觉用的很巧妙呢,不知我是否理解的正确。
from newsrecommendsystem.
你说的是基于内容相似度的推荐嘛?我看了一下Rocchino算法,它是利用余弦相似度做文档分类的,而我的做法可能是更接近于直接把推荐当余弦相似度的排序问题,把最新新闻与用户的关键词向量计算一个相似度,然后从高到低排列,推荐给用户
from newsrecommendsystem.
Related Issues (20)
- 系统没法推荐,推荐数为0, topHotNewsList 这个list 不知道干啥用的, HOT 1
- 运行问题 HOT 2
- 无关文件删除 HOT 1
- 系统无法推荐,表里数据没变化 HOT 1
- 新闻抓取问题
- 环境配置 HOT 1
- 数据库配置要3306的端口吗,我的代码导入没错,感觉连接mysql有错 HOT 2
- 我使用的是jdk1.8 在运行时出现类型转换异常java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer HOT 3
- 推荐数为零 HOT 1
- 启动报错Config already exists: main
- 请问recommendations表中的feedback字段有什么用
- 还在维护嘛 HOT 1
- 怎么获取用户在新闻页面的停留时间? HOT 1
- 我的一些问题
- 导入
- mvn compile问题 HOT 1
- 我的一些问题 HOT 1
- 导入报错
- IDEA将项目用maven导入不能运行
- 在Windows下不能运行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newsrecommendsystem.