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:
- use new PEventStore API
- use appName in DataSource parameter
- update build.sbt and template.json for PredictionIO 0.9.2
- Update Evaluation for PredictionIO 0.9.1
NOTE: Require PredictionIO >= 0.9.1
- Add missing sample data set (data/data.txt)
- update for PredictionIO 0.9.0
- add sample evaluation
- Persist RDD to memory (.cache()) in DataSource for better performance
- initial version