我使用PredictionIO内置推荐系统,marchine与此模板学习: https://templates.prediction.io/PredictionIO/template-scala-parallel-ecommercerecommendation如何介入PredictionIO与许多网站?
对于每一个网站,我创建一个的access_token一个PredictionIO应用程序,它必须在命令行
我的问题类型是,我如何运行并获取它在PHP代码?
我使用PredictionIO内置推荐系统,marchine与此模板学习: https://templates.prediction.io/PredictionIO/template-scala-parallel-ecommercerecommendation如何介入PredictionIO与许多网站?
对于每一个网站,我创建一个的access_token一个PredictionIO应用程序,它必须在命令行
我的问题类型是,我如何运行并获取它在PHP代码?
您可以使用PhP SDK将事件发送到PredictionIO。
https://github.com/PredictionIO/PredictionIO-PHP-SDK
这里是如何设置的快速启动与应用电子商务引擎。 https://docs.prediction.io/templates/ecommercerecommendation/quickstart/-0pjud e 就你而言,每个应用程序都有自己的访问密钥,如果他们的数据不混合在一起,即他们有不同的产品和用户,你需要为每个应用程序设置一个引擎。
-Isabelle
谢谢,这是我的计划,但我怎么能建立新的应用程序/获得新的自动的access_token在PHP?我的意思是运行“PIO应用程序新ABC”,并在PHP代码中获取access_token –