1 Star 7 Fork 2

夏召强 / RBPR-RecomenderSystems

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
demo.py 334 Bytes
一键复制 编辑 原始数据 按行查看 历史
夏召强 提交于 2020-10-08 11:02 . update demo.py.
from RBPR import *
if __name__ == '__main__':
trainDataFile = 'cold_start_dataset\\train.txt'
testDataFile = 'cold_start_dataset\\test.txt'
resultSaveFile = 'RBPR_result.txt'
read_file_without_scores(trainDataFile)
iterations = 2000
cf = RBPR(trainDataFile, resultSaveFile, '\t', 10, iterations)
cf.train_rbpr()
Python
1
https://gitee.com/xia_zhaoqiang/rbpr-recomender-systems.git
git@gitee.com:xia_zhaoqiang/rbpr-recomender-systems.git
xia_zhaoqiang
rbpr-recomender-systems
RBPR-RecomenderSystems
master

搜索帮助