python 框架推荐_Github项目推荐 | RecQ - Python推荐系统框架

Main option(主要选项): -testSet, -ap, -cv

-testSet path/to/test/file (need to specify the test set manually 需要手动指定测试集)

-ap ratio ap比率(ap means that the ratings are automatically partitioned into training set and test set, the number is the ratio of test set. e.g. -ap 0.2 ap表示评级自动分为训练集和测试集,数字是测试集的比例。例如-ap 0.2)

-cv k (-cv means cross validation, k is the number of the fold. e.g. -cv 5 -cv表示交叉验证,k是折叠的编号。例如-cv 5)

Secondary option(次要选项):-b, -p, -cold

-b val (binarizing the rating values. Ratings equal or greater than val will be changed into 1, and ratings lower than val will be changed into 0. e.g. -b 3.0 对评级值进行二值化。 等于或大于val的等级将变为1,低于val的等级将变为0。例如:-b 3.0)

-p (if this option is added, the cross validation wll be executed parallelly, otherwise executed one by one 如果添加此选项,则交叉验证将并行执行,否则将逐个执行)

-tf (model training would be conducted on TensorFlow if TensorFlow has been installed 如果已安装TensorFlow,将在TensorFlow上进行模型训练)

-cold threshold 冷阈值 (evaluation on cold-start users, users in training set with ratings more than threshold will be removed from the test set 对冷启动用户的评估,评级超过阈值的训练集中的用户将从测试集中删除)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值