This is based on Similar Product Template v0.12.0-incubating.

Please refer to http://predictionio.incubator.apache.org/templates/similarproduct/how-to/