-
Download https://pypi.python.org/pypi/texttable
-
Unzip the contents to any
<dir>
-
cd <dir>
-
python setup.py install
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:
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