Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationResult
- 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
Evaluation result.
Instance Attribute Summary collapse
-
#candidate_results ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CandidateResult>
Optional.
-
#evaluation_request ⇒ String
Required.
-
#evaluation_run ⇒ String
Required.
-
#metadata ⇒ Object
Optional.
-
#metric ⇒ String
Required.
-
#request ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRequest
Single evaluation request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationResult
constructor
A new instance of GoogleCloudAiplatformV1EvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationResult
Returns a new instance of GoogleCloudAiplatformV1EvaluationResult.
9414 9415 9416 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidate_results ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CandidateResult>
Optional. The results for the metric.
Corresponds to the JSON property candidateResults
9385 9386 9387 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9385 def candidate_results @candidate_results end |
#evaluation_request ⇒ String
Required. The request item that was evaluated. Format: projects/project/
locations/location/evaluationItems/evaluation_item
Corresponds to the JSON property evaluationRequest
9391 9392 9393 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9391 def evaluation_request @evaluation_request end |
#evaluation_run ⇒ String
Required. The evaluation run that was used to generate the result. Format:
projects/project/locations/location/evaluationRuns/evaluation_run
Corresponds to the JSON property evaluationRun
9397 9398 9399 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9397 def evaluation_run @evaluation_run end |
#metadata ⇒ Object
Optional. Metadata about the evaluation result.
Corresponds to the JSON property metadata
9402 9403 9404 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9402 def @metadata end |
#metric ⇒ String
Required. The metric that was evaluated.
Corresponds to the JSON property metric
9407 9408 9409 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9407 def metric @metric end |
#request ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRequest
Single evaluation request.
Corresponds to the JSON property request
9412 9413 9414 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9412 def request @request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9419 9420 9421 9422 9423 9424 9425 9426 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9419 def update!(**args) @candidate_results = args[:candidate_results] if args.key?(:candidate_results) @evaluation_request = args[:evaluation_request] if args.key?(:evaluation_request) @evaluation_run = args[:evaluation_run] if args.key?(:evaluation_run) @metadata = args[:metadata] if args.key?(:metadata) @metric = args[:metric] if args.key?(:metric) @request = args[:request] if args.key?(:request) end |