Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricResult

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

Overview

Spec for pointwise metric result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PointwiseMetricResult

Returns a new instance of GoogleCloudAiplatformV1beta1PointwiseMetricResult.



42688
42689
42690
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42688

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

Instance Attribute Details

#custom_outputGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomOutput

Spec for custom output. Corresponds to the JSON property customOutput



42676
42677
42678
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42676

def custom_output
  @custom_output
end

#explanationString

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

Returns:

  • (String)


42681
42682
42683
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42681

def explanation
  @explanation
end

#scoreFloat

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

Returns:

  • (Float)


42686
42687
42688
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42686

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42693
42694
42695
42696
42697
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42693

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