Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationSet

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

EvaluationSet is a collection of related EvaluationItems that are evaluated together.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationSet

Returns a new instance of GoogleCloudAiplatformV1EvaluationSet.



10959
10960
10961
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10959

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when this item was created. Corresponds to the JSON property createTime

Returns:

  • (String)


10931
10932
10933
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10931

def create_time
  @create_time
end

#display_nameString

Required. The display name of the EvaluationSet. Corresponds to the JSON property displayName

Returns:

  • (String)


10936
10937
10938
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10936

def display_name
  @display_name
end

#evaluation_itemsArray<String>

Required. The EvaluationItems that are part of this dataset. Corresponds to the JSON property evaluationItems

Returns:

  • (Array<String>)


10941
10942
10943
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10941

def evaluation_items
  @evaluation_items
end

#metadataObject

Optional. Metadata for the EvaluationSet. Corresponds to the JSON property metadata

Returns:

  • (Object)


10946
10947
10948
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10946

def 
  @metadata
end

#nameString

Identifier. The resource name of the EvaluationSet. Format: projects/project /locations/location/evaluationSets/evaluation_set` Corresponds to the JSON propertyname`

Returns:

  • (String)


10952
10953
10954
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10952

def name
  @name
end

#update_timeString

Output only. Timestamp when this item was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


10957
10958
10959
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10957

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10964
10965
10966
10967
10968
10969
10970
10971
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10964

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_items = args[:evaluation_items] if args.key?(:evaluation_items)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end