Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedSplit

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

Assigns input data to training, validation, and test sets based on the value of a provided key. Supported only for tabular Datasets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PredefinedSplit

Returns a new instance of GoogleCloudAiplatformV1PredefinedSplit.



19275
19276
19277
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19275

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

Instance Attribute Details

#keyString

Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of training`, `validation`, `test, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline. Corresponds to the JSON property key

Returns:

  • (String)


19273
19274
19275
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19273

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19280
19281
19282
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19280

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