potelo / laravel-predictionio
Laravel wrapper for PredictionIO v0.9.*
Requires
- illuminate/support: ^5.0|^6.0|^7.0|^8.0
- predictionio/predictionio: 0.13.*
This package is auto-updated.
Last update: 2024-10-28 02:37:39 UTC
README
*Based on michaeljhopkins
The Laravel PredictionIO library provides a client which offers easy access to a PredictionIO recommendation engine. PredictionIO is an open source machine learning server for software developers to create predictive features, such as personalization, recommendation and content discovery.
Through a small set of simple calls, all server functionality is exposed to your application. You can add users and items,
register actions between these users and items and retrieve recommendations deduced from this information by any
PredictionIO
recommendation engine. Applications range from showing recommended products in a
web shop to discovering relevant experts in a social collaboration network.
Installation
- Install library and dependencies:
$ composer require "potelo/laravel-predictionio:0.1.*@dev"
- Add a provider in
app/config/app.php
:
Potelo\LaravelPredictionIO\Provider\PredictionIOServiceProvider::class
- Add an alias in
app/config/app.php
:
'EngineClient' => Potelo\LaravelPredictionIO\Facades\EngineFacade::class, 'EventClient' => Potelo\LaravelPredictionIO\Facades\EventFacade::class,
- Define your PredictionIO API endpoint in
app/config/services.php
:
'predictionio' => [ 'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c', 'url' => 'http://localhost:7200' ],
License
This project is licensed using DBAD. Go have a blast.