【开源推荐】PredictionIO:构建预测功能的机器学习服务器
使用PredictionIO可以构建许多App:
- 基于已有数据预测用户行为;
- 选择你自己的机器学习算法;
- 无需担心可扩展性。
- 提供个性化视频、新闻、交易、广告或职位信息;
- 帮助用户发现有趣的事、文件、App和资源等;
示例
只需几行代码即可预测用户行为:
1
2
3
4
5
|
cli = predictionio.Client(
"<my key>"
)
cli.identify(
"John"
)
cli.record_action_on_item(
"view"
,
"HackerNews"
)
# predict top preferences near a specified location
r = cli.get_itemrec_topn(
"myEngine"
,
5
, {
"pio_latlng"
:[
37.9
,
91.2
]})
|
相关资料:
托管地址:https://github.com/PredictionIO/PredictionIO
快速入门地址:http://docs.prediction.io/current/tutorials/quickstart.html
安装地址:http://docs.prediction.io/current/installation/index.html
本文为优快云编译整理,未经允许不得转载,如需转载请联系market#youkuaiyun.com(#换成@)