Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
The config for auto-split.
Instance Attribute Summary collapse
-
#training_split_ratio ⇒ Float
Ratio of training dataset split.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
constructor
A new instance of GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
Returns a new instance of GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig.
11201 11202 11203 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#training_split_ratio ⇒ Float
Ratio of training dataset split.
Corresponds to the JSON property trainingSplitRatio
11199 11200 11201 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11199 def training_split_ratio @training_split_ratio end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11206 11207 11208 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11206 def update!(**args) @training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio) end |