potelo/laravel-predictionio

Laravel wrapper for PredictionIO v0.9.*

0.0.2 2021-01-27 18:51 UTC

This package is auto-updated.

Last update: 2022-04-27 21:29:32 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,
	'predictionio' => [
		'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c',
		'url' => 'http://localhost:7200'
	],

License

This project is licensed using DBAD. Go have a blast.