seldon-od-transformer

by Helm

Helm chartv0.2.0

Chart to deploy an outlier detector as a transformer in a Seldon Core v1 inference graph.

About this chart

seldon-od-transformer

Chart to deploy an outlier detector as a transformer in a Seldon Core v1 inference graph.

Usage

To use this chart, you will first need to add the seldonio Helm repo:

helm repo add seldonio https://storage.googleapis.com/seldon-charts
helm repo update

Once that's done, you should then be able to use the inference graph template as:

helm template $MY_MODEL_NAME seldonio/seldon-od-transformer --namespace $MODELS_NAMESPACE

Note that you can also deploy the inference graph directly to your cluster using:

helm install $MY_MODEL_NAME seldonio/seldon-od-transformer --namespace $MODELS_NAMESPACE

Homepage: https://github.com/SeldonIO/seldon-core

Source Code

Values

KeyTypeDefaultDescription
model.image.namestring"seldonio/mock_classifier:1.0"
model.namestring"classifier"
namestring"seldon-od-transformer"
outlierDetection.enabledbooltrue
outlierDetection.isolationforest.image.namestring"seldonio/outlier-if-tranformer:0.1"
outlierDetection.isolationforest.load_pathstring"./models/"
outlierDetection.isolationforest.model_namestring"if"
outlierDetection.isolationforest.thresholdint0
outlierDetection.mahalanobis.image.namestring"seldonio/outlier-mahalanobis-tranformer:0.1"
outlierDetection.mahalanobis.max_nint-1
outlierDetection.mahalanobis.n_componentsint3
outlierDetection.mahalanobis.n_stdevint3
outlierDetection.mahalanobis.start_clipint50
outlierDetection.mahalanobis.thresholdint25
outlierDetection.namestring"outlier-detector"
outlierDetection.parameterTypes.load_pathstring"STRING"
outlierDetection.parameterTypes.max_nstring"INT"
outlierDetection.parameterTypes.model_namestring"STRING"
outlierDetection.parameterTypes.n_componentsstring"INT"
outlierDetection.parameterTypes.n_stdevstring"FLOAT"
outlierDetection.parameterTypes.reservoir_sizestring"INT"
outlierDetection.parameterTypes.start_clipstring"INT"
outlierDetection.parameterTypes.thresholdstring"FLOAT"
outlierDetection.seq2seq.image.namestring"seldonio/outlier-s2s-lstm-tranformer:0.1"
outlierDetection.seq2seq.load_pathstring"./models/"
outlierDetection.seq2seq.model_namestring"seq2seq"
outlierDetection.seq2seq.reservoir_sizeint50000
outlierDetection.seq2seq.thresholdfloat0.003
outlierDetection.typestring"vae"Type of outlier detector. Valid values are: vae, mahalanobis, seq2seq and isolationforest.
outlierDetection.vae.image.namestring"seldonio/outlier-vae-tranformer:0.1"
outlierDetection.vae.load_pathstring"./models/"
outlierDetection.vae.model_namestring"vae"
outlierDetection.vae.reservoir_sizeint50000
outlierDetection.vae.thresholdint10
predictorLabels.fluentdstring"true"
predictorLabels.versionstring"v1"
replicasint1
sdepLabels.appstring"seldon"

Deploy seldon-od-transformer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has seldon-od-transformer on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartseldon-od-transformer is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply