Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult

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

Overview

Spec for pointwise metric result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricResult

Returns a new instance of GoogleCloudAiplatformV1PointwiseMetricResult.



21964
21965
21966
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21964

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

Instance Attribute Details

#custom_outputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput

Spec for custom output. Corresponds to the JSON property customOutput



21952
21953
21954
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21952

def custom_output
  @custom_output
end

#explanationString

Output only. Explanation for pointwise metric score. Corresponds to the JSON property explanation

Returns:

  • (String)


21957
21958
21959
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21957

def explanation
  @explanation
end

#scoreFloat

Output only. Pointwise metric score. Corresponds to the JSON property score

Returns:

  • (Float)


21962
21963
21964
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21962

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21969
21970
21971
21972
21973
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21969

def update!(**args)
  @custom_output = args[:custom_output] if args.key?(:custom_output)
  @explanation = args[:explanation] if args.key?(:explanation)
  @score = args[:score] if args.key?(:score)
end