User Base协同过滤的推荐系统,python实现

同窗让帮忙写的,临时写出来的,可能有bug,贴着存档吧,不解释了python # -*- coding: utf-8 -*- # test on python 2.7.11 import csv import random import math # user base CF def read_csv(file_name='train.csv'): ''' read c
相关文章
相关标签/搜索