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
相關文章
相關標籤/搜索