*Based on bratao Based on endroid
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.
- Install library and dependencies:
$ composer require "hopkins/predictionio-laravel-wrapper:0.1.*@dev"
- Add a provider in
app/config/app.php
:
'Hopkins\PredictionWrapper\PredictionWrapperServiceProvider',
- Add an alias in
app/config/app.php
:
'EngineClient' => 'Hopkins\PredictionWrapper\Facades\EngineFacade',
'EventClient' => 'Hopkins\PredictionWrapper\Facades\EventFacade',
- Define your PredictionIO API endpoint in
app/config/services.php
:
'predictionio' => array(
'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c',
),
This project is licensed using DBAD. Go have a blast.
- Braunson Yager
- Laurent Goussard