potelo / laravel-predictionio
Laravel封装PredictionIO v0.9.*
0.0.2
2021-01-27 18:51 UTC
Requires
- illuminate/support: ^5.0|^6.0|^7.0|^8.0
- predictionio/predictionio: 0.13.*
This package is auto-updated.
Last update: 2024-08-28 02:20:10 UTC
README
The Laravel PredictionIO库提供了一个客户端,该客户端可以轻松访问PredictionIO推荐引擎。PredictionIO是一个开源的机器学习服务器,供软件开发者创建预测特性,如个性化、推荐和内容发现。
通过一组简单的调用,所有服务器功能都向您的应用程序开放。您可以为用户和物品添加,在这些用户和物品之间注册动作,并使用任何PredictionIO
推荐引擎从这些信息中检索推荐。应用范围从在网店中显示推荐产品到在社交协作网络中找到相关专家。
安装
- 安装库和依赖项
$ composer require "potelo/laravel-predictionio:0.1.*@dev"
- 在
app/config/app.php
中添加一个provider
Potelo\LaravelPredictionIO\Provider\PredictionIOServiceProvider::class
- 在
app/config/app.php
中添加一个alias
'EngineClient' => Potelo\LaravelPredictionIO\Facades\EngineFacade::class, 'EventClient' => Potelo\LaravelPredictionIO\Facades\EventFacade::class,
- 在
app/config/services.php
中定义您的PredictionIO API端点
'predictionio' => [ 'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c', 'url' => 'https://:7200' ],
许可证
本项目使用DBAD许可证。尽情享受吧。