Docker container for PredictionIO-based machine learning services
PredictionIO is an open-source Machine Learning server for developers and data scientists to build and deploy predictive applications in a fraction of the time.
This container uses Apache Spark and PostgreSQL.
Use it interactively for development:
$ docker run --name prediction-databse
-e POSTGRES_USER=postgres
-e POSTGRES_PASSWORD=prediction
-e POSTGRES_DB=postgresql
-d postgres:9.4
$ docker run -it -v $HOME/my-recommendation-src:/MyRecommendation
-p 8000:8000 -p 7070:7070 -p 9000:9000
--link prediction-databse:postgres
opengate/predictionio /bin/bash
Bash commands inside container (See PredictionIO QuickStart)
$ pio status
$ cd /MyRecommendation
$ pio app new MyApp1
...
$ pio build --verbose
$ pio train
$ pio deploy