码迷,mamicode.com
首页 > 其他好文 > 详细

paddle进行推荐

时间:2017-08-03 11:25:21      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:format   code   target   more   from   ant   product   and   src   

参考这一页:

https://github.com/PaddlePaddle/book/tree/develop/05.recommender_system

 

Some well know approaches include:

  • User behavior-based approach. A well-known method is collaborative filtering. The underlying assumption is that if a person A has the same opinion as a person B on an issue, A is more likely to have B‘s opinion on a different issue than that of a randomly chosen person.

  • Content-based recommendation[1]. This approach infers feature vectors that represent products from their descriptions. It also infers feature vectors that represent users‘ interests. Then it measures the relevance of users and products by some distances between these feature vectors.

  • Hybrid approach[2]: This approach uses the content-based information to help address the cold start problem[6] in behavior-based approach.

Among these options, collaborative filtering might be the most studied one. Some of its variants include user-based[3], item-based [4], social network based[5], and model-based.

 

技术分享

We use the MovieLens ml-1m to train our model. This dataset includes 10,000 ratings of 4,000 movies from 6,000 users to 4,000 movies. Each rate is in the range of 1~5. Thanks to GroupLens Research for collecting, processing and publishing the dataset.

paddle.v2.datasets package encapsulates multiple public datasets, including cifarimdbmnistmoivelens and wmt14, etc. There‘s no need for us to manually download and preprocess MovieLens dataset.

 

paddle进行推荐

标签:format   code   target   more   from   ant   product   and   src   

原文地址:http://www.cnblogs.com/charlesblc/p/7278368.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!