Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec

Returns a new instance of GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec.



14304
14305
14306
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14304

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

Instance Attribute Details

#explanation_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ExplanationSpec

Specification of Model explanation. Corresponds to the JSON property explanationSpec



14296
14297
14298
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14296

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)


14302
14303
14304
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14302

def explanation_type
  @explanation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14309
14310
14311
14312
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14309

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