This is based on Classification Engine Template v0.12.0-incubating.
Please refer to http://predictionio.incubator.apache.org/templates/classification/how-to/