Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedSplit
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedSplit
- 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
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) ⇒ GoogleCloudAiplatformV1beta1PredefinedSplit
constructor
A new instance of GoogleCloudAiplatformV1beta1PredefinedSplit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PredefinedSplit
Returns a new instance of GoogleCloudAiplatformV1beta1PredefinedSplit.
20814 20815 20816 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20814 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
20812 20813 20814 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20812 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20819 20820 20821 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20819 def update!(**args) @key = args[:key] if args.key?(:key) end |