2017 © Pedro Peláez
 

library prediction-io-bundle

Endroid PredictionIO Bundle for Symfony

image

headzoo/prediction-io-bundle

Endroid PredictionIO Bundle for Symfony

  • Friday, November 7, 2014
  • by headzoo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,646 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Endroid PredictionIO Bundle

By endroid, (*1)

Build Status Latest Stable Version Total Downloads, (*2)

This bundle provides easy integration with PredictionIO. PredictionIO is an open source machine learning server for software developers to create predictive features, such as personalization, recommendation and content discovery. Based on Apache Mahout scalable machine learning libraries., (*3)

The bundle registers the Endroid PredictionIO client as a service in your Symfony project. This client can then be used to register actions between users and items and to retrieve recommendations provided by any PredictionIO server. Applications range from showing recommended products in a web shop to discovering relevant experts in a social collaboration network., (*4)

knpbundles.com, (*5)

Requirements

Installation

Add in your composer.json

{
    "require": {
        "endroid/prediction-io-bundle": "dev-master"
    }
}

Install the bundle

``` bash $ curl -s http://getcomposer.org/installer | php $ php composer.phar update endroid/prediction-io-bundle, (*6)


Composer will install the bundle to your project's `vendor/endroid` directory. ### Enable the bundle via the kernel ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Endroid\Bundle\PredictionIOBundle\EndroidPredictionIOBundle(), ); }

Configuration

config.yml

endroid_prediction_io:
    app_key: "Your app key"
    api_url: "http://localhost:8000" // optional

Usage

After installation and configuration, the service can be directly referenced from within your controllers., (*7)

<?php
public function recommendAction()
{
    $client = $this->get('endroid.prediction_io');

    // populate
    $client->createUser($userId);
    $client->createItem($itemId);
    $client->recordAction($userId, $itemId, 'view');

    // get recommendations and similar items
    $recommendations = $client->getRecommendations($userId, $engine, $count);
    $similarItems = $client->getSimilarItems($itemId, $engine, $count);
}

Vagrant box

PredictionIO provides a Vagrant box containing an out-of-the-box PredictionIO server., (*8)

License

This bundle is under the MIT license. For the full copyright and license information, please view the LICENSE file that was distributed with this source code., (*9)

The Versions

07/11 2014

dev-master

9999999-dev https://github.com/headzoo/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

07/11 2014

1.1.3

1.1.3.0 https://github.com/headzoo/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

01/10 2014

1.1.2

1.1.2.0 https://github.com/headzoo/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

03/09 2014

1.1.1

1.1.1.0 https://github.com/headzoo/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

02/09 2014

1.1

1.1.0.0 https://github.com/headzoo/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

18/12 2013

1.0.2

1.0.2.0 https://github.com/endroid/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

24/10 2013

1.0.1

1.0.1.0 https://github.com/endroid/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction

22/10 2013

1.0.0

1.0.0.0 https://github.com/endroid/EndroidPredictionIoBundle

Endroid PredictionIO Bundle for Symfony

  Sources   Download

MIT

The Requires

 

bundle symfony endroid io recommendation predictionio prediction