This is based on E-Commerce Recommendation Template v0.14.0.
Please refer to http://predictionio.apache.org/templates/ecommercerecommendation/how-to/