recommendation system --Two UserBasedCF Code
2014-06-24 00:06
323 查看
Data Source:
http://files.grouplens.org/datasets/movielens .
Partly Describe:
u.data -- The full u data set, 100000 ratings by 943 users on 1682 items.
Each user has rated at least 20 movies. Users and items are
numbered consecutively from 1. The data is randomly
ordered. This is a tab separated list of
user id | item id | rating | timestamp.
The time stamps are unix seconds since 1/1/1970 UTC
u.user -- Demographic information about the users; this is a tab
separated list of
user id | age | gender | occupation | zip code
The user ids are the ones used in the u.data data set.
A problem encountered in the implementation process:
install texttable in python:
Download https://pypi.python.org/pypi/texttable
Unzip the contents to any
Codes From:
https://github.com/wyh267/myCodeLib/blob/master/Src/Reco/userFC.py
and
http://www.oschina.net/code/snippet_244322_15369
This recommendation system will be recommended to you the most hot movies whenever you load in some more users. that's what needs to be addressed later .
AND I'm wrting one by myself. I 'LL paste it out later.
reference: http://blog.csdn.net/ygrx/article/details/15501679
http://files.grouplens.org/datasets/movielens .
Partly Describe:
u.data -- The full u data set, 100000 ratings by 943 users on 1682 items.
Each user has rated at least 20 movies. Users and items are
numbered consecutively from 1. The data is randomly
ordered. This is a tab separated list of
user id | item id | rating | timestamp.
The time stamps are unix seconds since 1/1/1970 UTC
u.user -- Demographic information about the users; this is a tab
separated list of
user id | age | gender | occupation | zip code
The user ids are the ones used in the u.data data set.
A problem encountered in the implementation process:
install texttable in python:
Download https://pypi.python.org/pypi/texttable
Unzip the contents to any
<dir>
cd <dir>
python setup.py install
Codes From:
https://github.com/wyh267/myCodeLib/blob/master/Src/Reco/userFC.py
and
http://www.oschina.net/code/snippet_244322_15369
This recommendation system will be recommended to you the most hot movies whenever you load in some more users. that's what needs to be addressed later .
AND I'm wrting one by myself. I 'LL paste it out later.
reference: http://blog.csdn.net/ygrx/article/details/15501679
相关文章推荐
- 【转载】协同过滤(CF)算法详解,item-base,user-based,SVD,SVD++
- python UserBasedCF
- 【推荐系统】协同过滤(CF)算法详解,item-base,user-based,SVD,SVD++
- User-Based CF VS. Item-Based CF
- CF-13D - Two Paths(搜索)
- why separate the source code of a codec into two p
- A Simple Date Selector User Control in ASP.NET (JavaScript based)
- 重新开张 &amp;amp;amp;&amp;amp;amp; two pieces of fascinating code
- Codeforces Round #424 (Div. 2, rated, based on VK Cup Finals)C. Jury Marks
- Codeforces Round #437 (Div. 2 C. Ordering Pizza 贪心 only two types of pizza
- InvalidOperationException was unhandled by user code
- User breakpoint called from code at 0x771064f4
- OB52 based on Company Code
- Leet Code OJ 1. Two Sum [Difficulty: Easy]
- Transmission Value Between Two UserControl
- Two sample code using javamail
- Accelerometer-based User Interfaces for the Control of a Physically Simulated Character
- 2.【排序】Merge Two Sorted Lists--Accepted Java code
- SharePoint Data View Conditional Formatting based on user permissions (IfHasRights)