Reputation: 21
I am using PredictionIO to built recommendation system, marchine learning with this template: https://templates.prediction.io/PredictionIO/template-scala-parallel-ecommercerecommendation
For each website, i create a PredictionIO app with a access_token, and it must be type in command line
My question is, how I run and get it in PHP code?
Upvotes: 1
Views: 393
Reputation: 86
You can use the the PhP SDK to send events to PredictionIO.
https://github.com/PredictionIO/PredictionIO-PHP-SDK
Here is a quickstart on how to setup the ecommerce engine with an app. https://docs.prediction.io/templates/ecommercerecommendation/quickstart/-0pjud e In your case, each app would have its own access key and you need to setup an engine for each app if their data don't mix together - i.e. if they have different products and users.
-Isabelle
Upvotes: 1