Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update component.yaml to kfp v2 sdk #259

Merged
merged 1 commit into from
Sep 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions mlops/kubeflow/bias_detector_pytorch/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ description: |
metadata:
annotations: {platform: 'OpenSource'}
inputs:
- {name: model_id, description: 'Required. Training model ID', default: 'training-dummy'}
- {name: model_class_file, description: 'Required. pytorch model class file', default: 'PyTorchModel.py'}
- {name: model_class_name, description: 'Required. pytorch model class name', default: 'PyTorchModel'}
- {name: feature_testset_path, description: 'Required. Feature test dataset path in the data bucket'}
- {name: label_testset_path, description: 'Required. Label test dataset path in the data bucket'}
- {name: protected_label_testset_path, description: 'Required. Protected label test dataset path in the data bucket'}
- {name: favorable_label, description: 'Required. Favorable label for this model predictions'}
- {name: unfavorable_label, description: 'Required. Unfavorable label for this model predictions'}
- {name: privileged_groups, description: 'Required. Privileged feature groups within this model'}
- {name: unprivileged_groups, description: 'Required. Unprivileged feature groups within this model'}
- {name: data_bucket_name, description: 'Optional. Bucket that has the processed data', default: 'training-data'}
- {name: result_bucket_name, description: 'Optional. Bucket that has the training results', default: 'training-result'}
- {name: model_id, type: String, description: 'Required. Training model ID', default: 'training-dummy'}
- {name: model_class_file, type: String, description: 'Required. pytorch model class file', default: 'PyTorchModel.py'}
- {name: model_class_name, type: String, description: 'Required. pytorch model class name', default: 'PyTorchModel'}
- {name: feature_testset_path, type: String, description: 'Required. Feature test dataset path in the data bucket'}
- {name: label_testset_path, type: String, description: 'Required. Label test dataset path in the data bucket'}
- {name: protected_label_testset_path, type: String, description: 'Required. Protected label test dataset path in the data bucket'}
- {name: favorable_label, type: String, description: 'Required. Favorable label for this model predictions'}
- {name: unfavorable_label, type: String, description: 'Required. Unfavorable label for this model predictions'}
- {name: privileged_groups, type: String, description: 'Required. Privileged feature groups within this model'}
- {name: unprivileged_groups, type: String, description: 'Required. Unprivileged feature groups within this model'}
- {name: data_bucket_name, type: String, description: 'Optional. Bucket that has the processed data', default: 'training-data'}
- {name: result_bucket_name, type: String, description: 'Optional. Bucket that has the training results', default: 'training-result'}
outputs:
- {name: metric_path, description: 'Path for fairness check output'}
- {name: metric_path, type: String, description: 'Path for fairness check output'}
implementation:
container:
image: aipipeline/bias-detector:pytorch
Expand Down