From a277f87ea1d4707bf860d080d06639b7caf9a1cf Mon Sep 17 00:00:00 2001 From: Animesh Singh Date: Tue, 2 Apr 2019 19:49:41 -0700 Subject: [PATCH] metadata tag for watson components (#1072) --- components/ibm-components/watson/deploy/component.yaml | 2 ++ .../watson/manage/monitor_fairness/component.yaml | 2 ++ .../ibm-components/watson/manage/monitor_quality/component.yaml | 2 ++ .../ibm-components/watson/manage/subscribe/component.yaml | 2 ++ components/ibm-components/watson/store/component.yaml | 2 ++ components/ibm-components/watson/train/component.yaml | 2 ++ 6 files changed, 12 insertions(+) diff --git a/components/ibm-components/watson/deploy/component.yaml b/components/ibm-components/watson/deploy/component.yaml index cdd78a48eb4..42d1fb59c7f 100644 --- a/components/ibm-components/watson/deploy/component.yaml +++ b/components/ibm-components/watson/deploy/component.yaml @@ -13,6 +13,8 @@ name: 'Watson Machine Learning - Deploy Model' description: | Deploy stored model on Watson Machine Learning as a web service. +metadata: + labels: {platform: 'IBM Watson Machine Learning'} inputs: - {name: model_uid, description: 'Required. UID for the stored model on Watson Machine Learning'} - {name: model_name, description: 'Required. Model Name on Watson Machine Learning'} diff --git a/components/ibm-components/watson/manage/monitor_fairness/component.yaml b/components/ibm-components/watson/manage/monitor_fairness/component.yaml index ecf6822163d..6df912741e6 100644 --- a/components/ibm-components/watson/manage/monitor_fairness/component.yaml +++ b/components/ibm-components/watson/manage/monitor_fairness/component.yaml @@ -13,6 +13,8 @@ name: 'Watson OpenScale - Monitor Fairness' description: | Enable model fairness monitoring on Watson OpenScale. +metadata: + labels: {platform: 'IBM Watson OpenScale'} inputs: - {name: model_name, description: 'Deployed model name on OpenScale.', default: 'AIOS Spark German Risk Model - Final'} - {name: fairness_threshold, description: 'Amount of threshold for fairness monitoring.', default: '0.95'} diff --git a/components/ibm-components/watson/manage/monitor_quality/component.yaml b/components/ibm-components/watson/manage/monitor_quality/component.yaml index 4695731d787..362b50615df 100644 --- a/components/ibm-components/watson/manage/monitor_quality/component.yaml +++ b/components/ibm-components/watson/manage/monitor_quality/component.yaml @@ -13,6 +13,8 @@ name: 'Watson OpenScale - Monitor quality' description: | Enable model quality monitoring on Watson OpenScale. +metadata: + labels: {platform: 'IBM Watson OpenScale'} inputs: - {name: model_name, description: 'Deployed model name on OpenScale.', default: 'AIOS Spark German Risk Model - Final'} - {name: problem_type, description: 'Model problem type.', default: 'BINARY_CLASSIFICATION'} diff --git a/components/ibm-components/watson/manage/subscribe/component.yaml b/components/ibm-components/watson/manage/subscribe/component.yaml index 1932f32d590..3a541a18ab3 100644 --- a/components/ibm-components/watson/manage/subscribe/component.yaml +++ b/components/ibm-components/watson/manage/subscribe/component.yaml @@ -13,6 +13,8 @@ name: 'Watson OpenScale - Subscribe' description: | Binding deployed models and subscribe them to Watson OpenScale service. +metadata: + labels: {platform: 'IBM Watson OpenScale'} inputs: - {name: model_name, description: 'Deployed model name.', default: 'AIOS Spark German Risk Model - Final'} - {name: model_uid, description: 'Deployed model uid.', default: 'dummy uid'} diff --git a/components/ibm-components/watson/store/component.yaml b/components/ibm-components/watson/store/component.yaml index d2e29898dde..978e3073688 100644 --- a/components/ibm-components/watson/store/component.yaml +++ b/components/ibm-components/watson/store/component.yaml @@ -13,6 +13,8 @@ name: 'Watson Machine Learning - Store model' description: | Store and persistent trained model on Watson Machine Learning. +metadata: + labels: {platform: 'IBM Watson Machine Learning'} inputs: - {name: run_uid, description: 'Required. UID for the Watson Machine Learning training-runs'} - {name: model_name, description: 'Required. Model Name to store on Watson Machine Learning'} diff --git a/components/ibm-components/watson/train/component.yaml b/components/ibm-components/watson/train/component.yaml index 78c92874204..18f75949e63 100644 --- a/components/ibm-components/watson/train/component.yaml +++ b/components/ibm-components/watson/train/component.yaml @@ -13,6 +13,8 @@ name: 'Watson Machine Learning - Train Model' description: | Train Machine Learning and Deep Learning Models in the Cloud using Watson Machine Learning +metadata: + labels: {platform: 'IBM Watson Machine Learning'} inputs: - {name: train_code, description: 'Required. Code for training ML/DL models'} - {name: execution_command, description: 'Required. Execution command to start the model training.'}