Skip to content

lsjsj92/kubeflow_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubeflow_example

This repo is made for kubeflow example

How to use it?

  1. iris
  • Make kubeflow pipeline for simple example : iris data
  • Doing load data -> training data
  • If you want to start this example do this:
    1. Make each dokcer image(preprocessing, training)
    2. Make kubeflow pipeline(pipeline.py)
    3. Start kubeflow
    4. Upload pipeline and start experiment
  1. titanic
  • Make kubeflow pipline for simple AWS example with titanic data

  • The process of this kubeflow pipeline : In preprocessing

    1. Get data from AWS s3
    2. Preprocessing data
    3. Upload to AWS s3 after preprocessing data Until here, doing in preprocessing

    In train_model 4. Get preprocessing data from s3 5. Training model 6. Upload model to s3

  1. metrics_evaluation_and_check_condtion
  • Make kubeflow evaluation and check condition
  • Use iris data
  • Evaluation
    • Make metrics json
    • Print metrics in kubeflow
    • in 2_model_training/training_model.py
  • Check condition
    • Use dsl.condition
    • in pipeline.py
  • Result
    • 스크린샷 2020-07-23 오전 6 11 44