GithubHelp home page GithubHelp logo

ycj007 / docker-predictionio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steveny2k/docker-predictionio

0.0 1.0 0.0 1.52 MB

Docker container for PredictionIO-based machine learning services

Shell 100.00%

docker-predictionio's Introduction

This project is derived from sphereio/docker-predictionio

The doc file of PredictionIO pointing to this repo is at http://predictionio.incubator.apache.org/community/projects/#docker-installation-for-predictionio

The master branch of this project is for the PredictionIO stable version 0.10.0, and other branches are for newer PredictionIO stable versions (for example, 0.12.0)

PredictionIO docker container

Docker container for PredictionIO-based machine learning services

Docker build

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, HBase and Elasticsearch.

  1. First, do either option a) or b) below

    a). (faster; stable version) obtain docker image from public docker registry:

    # for version 0.12.0
    $ docker run -it -p 8000:8000 steveny/predictionio:0.12.0 /bin/bash
    
    # for version 0.10.0
    $ docker run -it -p 8000:8000 steveny/predictionio /bin/bash

    b). (slower) build docker image from local Dockerfile: git checkout the desired branch (note: main branch is for 0.10.0); cd to the path containing the Dockerfile, then:

    $ docker build -t predictionio .

    then:

    $ docker run -p 8000:8000 --name predictionio_instance -it predictionio /bin/bash
  2. Then in docker container, start all services

$ pio-start-all

For the case of version 0.10.0, ignore the error message /PredictionIO-0.10.0-incubating/bin/pio-start-all: line 74: sudo: command not found

and check if all the installed services (HBase, Elastic Search, PredictionIO) are started

$ jps -l
  1. Try an example: similar Product Engine Template (details in http://predictionio.incubator.apache.org/templates/similarproduct/quickstart/)

=========================

Note to myself:

command lines to build and push docker image:

$ docker build -t steveny/predictionio:0.12.0 .
$ docker run --rm -it -p 8000:8000 steveny/predictionio:0.12.0 /bin/bash
$ docker push steveny/predictionio:0.12.0

docker-predictionio's People

Contributors

arzt avatar hajoeichler avatar ibotdotout avatar mickadoua avatar steveny2k avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.