Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_ratioFloat

Ratio of training dataset split. Corresponds to the JSON property trainingSplitRatio

Returns:

  • (Float)


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