Please refer to http://predictionio.incubator.apache.org/templates/classification/quickstart/
Update for Apache PredictionIO 0.10.0-incubating
Change query format from { features: [2, 0, 0] }
to { "attr0":2, "attr1":0, "attr2":0 }
Query class, DataSource readEval(), and algorithm's predict() is updated accordingly.
update for PredictionIO 0.9.2, including:
NOTE: Require PredictionIO >= 0.9.1