Public Repository

Last pushed: 2 years ago
Short Description
Image for running prediction.io
Full Description

$ docker run -it -v $HOME/MyEngine:/MyEngine -p 8000:8000 -p 7070:7070 -p 8080:8080 -p 50070:50070 -p 16010:16010 -p 58635:58635 --name predictionio jimhartford/predictionio /bin/bash

You can then follow along on the prediction.io quickstart page. Note that pip and the python SDK have already been installed.

https://docs.prediction.io/templates/recommendation/quickstart/

Example:
pio-start-all
pio template get PredictionIO/template-scala-parallel-recommendation MyRecommendation
cd MyRecommendation
pio app new MyApp1
ACCESS_KEY=<access key from above app>
curl https://raw.githubusercontent.com/apache/spark/master/data/mllib/sample_movielens_data.txt --create-dirs -o data/sample_movielens_data.txt
python data/import_eventserver.py --access_key $ACCESS_KEY

vim engine.json //enter correct appName
pio build --verbose
pio train
pio deploy

Docker Pull Command
Owner
jimhartford