This is based on Recommendation Template v0.14.0.

Please refer to https://predictionio.apache.org/templates/recommendation/how-to/