This is based on Similar Product Template v0.13.0.
Please refer to http://predictionio.apache.org/templates/similarproduct/how-to/