Skip to content
An example of a service wrapper for a predictive model
Shell Python Makefile Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
container
scheduler
service
.gitmodules
LICENSE.md
Makefile
README.md

README.md

Example Prediction Service

See “A poor man’s orchestration of predictive models, or do it yourself” for further details.

Usage

In order to build a Docker image and upload it to Container Registry, run

make build

In order to (1) start a Compute Engine instance for training a model, (2) wait until completion, and (3) ensure that everything went well, run

make training-start training-wait training-check

In order to (1) start a Compute Engine instance for applying a trained model, (2) wait until completion, and (3) ensure that everything went well, run

make application-start application-wait application-check

In order to schedule training and application using Airflow, run

git clone https://github.com/chain-rule/example-prediction-service.git "${AIRFLOW_HOME}/dags"
You can’t perform that action at this time.