Code Monkey home page Code Monkey logo

openscoring-docker's Introduction

Openscoring application for the Docker distributed applications platform

Overview

[Openscoring] (https://github.com/jpmml/openscoring) provides REST API for publishing and evaluating predictive models:

  • Model deployment and undeployment
  • Model evaluation in single prediction, batch prediction and CSV prediction modes
  • Model metrics

Installation

Prerequisites:

  • Docker 1.5 or newer

GitHub repository [jpmml/openscoring-docker] (https://github.com/jpmml/openscoring-docker) contains a Dockerfile for Openscoring command-line server application.

Building the latest Openscoring application image from the HEAD revision:

sudo docker build -t jpmml/openscoring:latest github.com/jpmml/openscoring-docker

Additionally, this GitHub repository is tracked by Docker Hub repository [jpmml/openscoring] (https://registry.hub.docker.com/u/jpmml/openscoring/) using the "Automated Builds" mechanism.

Pulling a stable Openscoring application image:

sudo docker pull jpmml/openscoring:1.2.2

Usage

Interactive mode

Running the image in the host networking mode:

sudo docker run --net="host" jpmml/openscoring:latest

The container shares host's network stack. It is possible to use privileged HTTP methods PUT and DELETE for deploying and undeploying models, respectively.

Passive mode

Running the image in the bridge (default) networking mode:

sudo docker run --net="bridge" -p 8080:8080 -v /path/to/pmml:/openscoring/pmml jpmml/openscoring:latest --model-dir /openscoring/pmml

The container uses Docker's default network setup, which is separate from host's network stack. It is impossible to use privileged HTTP methods. The only option for deploying and undeploying models is via the model auto-deployment directory /openscoring/pmml. This directory is mapped to host's filesystem directory /path/to/pmml using the data volume mechanism.

License

Openscoring is dual-licensed under the [GNU Affero General Public License (AGPL) version 3.0] (http://www.gnu.org/licenses/agpl-3.0.html) and a commercial license.

Additional information

Please contact [[email protected]] (mailto:[email protected])

openscoring-docker's People

Contributors

vruusmann avatar

Watchers

kdeepak 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.