Skip to content

gabrielwen/LinearModel

Repository files navigation

Simple example to use Kubeflow for model training and deployments.

This directory provides an example of using Feast, Kubeflow, and TFX Tensorflow Datavalidation.

Use the notebook feast-taxi-job.ipynb.

Deploy Kubeflow cluster

  1. Download kfctl CLI (v0.5.1) from kubeflow release
  2. Run the following command to deploy Kubeflow:
# Init using HEAD of v0.5-branch.
# This is needed because v0.5.1 doesn't include this fix:
# https://github.com/kubeflow/kubeflow/pull/3238
kfctl init {APP_NAME} --platform gcp --project {PROJECT} -V --version v0.5-branch

cd {APP_DIR}

kfctl generate all -V

kfctl apply all -V

Notebook settings

  1. Follow instructions on setting up notebook with UI: link
  2. upload Linear_Model.ipynb/deploy_with_fairing.py/LabelPrediction.py to notebook.

Misc

  • BASE_IMAGE is built with fairing_job/. Dockerfile in this folder has minimum required dependencies for fairing service.

About

Simple linear model using Kubeflow for dev and fairing for serving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published