XGBoost Server

If you have a trained XGBoost model saved you can deploy it simply using Seldon’s prepackaged XGBoost server.

Prequisites:

  • The model pickle must be named model.bst

An example for a saved Iris prediction model:

apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
  name: xgboost
spec:
  name: iris
  predictors:
  - graph:
      children: []
      implementation: XGBOOST_SERVER
      modelUri: gs://seldon-models/xgboost/iris
      name: classifier
    name: default
    replicas: 1

Try out a worked notebook