hopkins/predictionio-laravel-wrapper

Took some queues from Endroid and bratao and hopefully got the package to v0.8.*

dev-master / 0.1.x-dev 2015-02-08 21:04 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:02:40 UTC


README

SUPER ALPHA, PROBABLY NOT EVEN SAFE TO USE IN YOUR DEV ENVIRONMENT MUCH LESS PROD

*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.

Installation

  • 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',
	'predictionio' => array(
		'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c',
	),

License

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

Thanks to

  • Braunson Yager
  • Laurent Goussard