A Clojure recommendation sample for predictionio
https://github.com/technomancy/leiningen
git clone http://github.com/tiensonqin/predictionio-sample
cd predictionio-sample
lein repl
http://docs.prediction.io/current/installation/index.html
Go to the web admin panel of PredictionIO Server at http://:9000/. Follow on-screen instruction to add the first app. Now an app key can be obtained from the control panel. Put the app-key into src/predictionio-sample/utils.clj#line4
Next, you need to create a Prediction Engine under the new app. Each engine deals with one specific prediction problem. Let's start by creating an Item Recommendation Engine (itemrec) and name it engine1.
lein run -m predictionio-sample.import
Check Engine Status make sure its running. Please refer to http://docs.prediction.io/current/tutorials/quickstart-php.html#check-engine-status
lein run -m predictionio-sample.show
Copyright © 2013 tiensonqin@gmail.com
Distributed under the Eclipse Public License, the same as Clojure.