Github user takezoe commented on the issue:
https://github.com/apache/incubator-predictionio-template-text-classifier/pull/14
@hareeshmu We are progressing updating templates just now, but this
template is not updated for PredictionIO 0.12.0 yet. Some code modifications
seem to be needed for Spark 2.1.1.---
