O'Reilly logo

Learning Salesforce Einstein by Mohith Shrivastava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting started with PredictionIO

In this section, we will explore how to build and deploy an engine using the templates offered by PredictionIO.

To start with, let's pick up an e-commerce Recommendation Template to start building the Engine. We will add code snippets for both Java and Scala. If you are familiar with one of these languages, it will help you understand the supporting content.

PredictionIO, for its core engine implementation, uses Scala, even though there is no hard rule to use Scala to build on top of PredictionIO. You can use Java to code the engine and the algorithm as well. Spark MLlib also supports both Java and Scala.

The URL for the template for the Java version that we will use is located at https://github.com/apache/incubator-predictionio-template-java-ecom-recommender ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required