Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedSplit
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedSplit
- 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
-
#key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PredefinedSplit
constructor
A new instance of GoogleCloudAiplatformV1PredefinedSplit.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#key ⇒ String
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
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 |