Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Configuration for bias detection.
Instance Attribute Summary collapse
-
#bias_slices ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec
Specification for how the data should be sliced.
-
#labels ⇒ Array<String>
Positive labels selection on the target field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig
Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationBiasConfig.
34831 34832 34833 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bias_slices ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec
Specification for how the data should be sliced.
Corresponds to the JSON property biasSlices
34824 34825 34826 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34824 def bias_slices @bias_slices end |
#labels ⇒ Array<String>
Positive labels selection on the target field.
Corresponds to the JSON property labels
34829 34830 34831 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34829 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34836 34837 34838 34839 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34836 def update!(**args) @bias_slices = args[:bias_slices] if args.key?(:bias_slices) @labels = args[:labels] if args.key?(:labels) end |