Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationModelEvaluationExplanationSpec

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationModelEvaluationExplanationSpec

Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationModelEvaluationExplanationSpec.



35035
35036
35037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35035

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#explanation_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec

Specification of Model explanation. Corresponds to the JSON property explanationSpec



35027
35028
35029
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35027

def explanation_spec
  @explanation_spec
end

#explanation_typeString

Explanation type. For AutoML Image Classification models, possible values are:

  • image-integrated-gradients * image-xrai Corresponds to the JSON property explanationType

Returns:

  • (String)


35033
35034
35035
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35033

def explanation_type
  @explanation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35040
35041
35042
35043
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35040

def update!(**args)
  @explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
  @explanation_type = args[:explanation_type] if args.key?(:explanation_type)
end