Class: Google::Apis::LanguageV2::XpsSpeechPreprocessStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsSpeechPreprocessStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#data_errors ⇒ Array<Google::Apis::LanguageV2::XpsDataErrors>
Different types of data errors and the counts associated with them.
-
#num_human_labeled_examples ⇒ Fixnum
The number of rows marked HUMAN_LABELLED Corresponds to the JSON property
numHumanLabeledExamples
. -
#num_logs_examples ⇒ Fixnum
The number of samples found in the previously recorded logs data.
-
#num_machine_transcribed_examples ⇒ Fixnum
The number of rows marked as MACHINE_TRANSCRIBED Corresponds to the JSON property
numMachineTranscribedExamples
. -
#test_examples_count ⇒ Fixnum
The number of examples labelled as TEST by Speech xps server.
-
#test_sentences_count ⇒ Fixnum
The number of sentences in the test data set.
-
#test_words_count ⇒ Fixnum
The number of words in the test data set.
-
#train_examples_count ⇒ Fixnum
The number of examples labeled as TRAIN by Speech xps server.
-
#train_sentences_count ⇒ Fixnum
The number of sentences in the training data set.
-
#train_words_count ⇒ Fixnum
The number of words in the training data set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsSpeechPreprocessStats
constructor
A new instance of XpsSpeechPreprocessStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsSpeechPreprocessStats
Returns a new instance of XpsSpeechPreprocessStats.
3382 3383 3384 |
# File 'lib/google/apis/language_v2/classes.rb', line 3382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_errors ⇒ Array<Google::Apis::LanguageV2::XpsDataErrors>
Different types of data errors and the counts associated with them.
Corresponds to the JSON property dataErrors
3335 3336 3337 |
# File 'lib/google/apis/language_v2/classes.rb', line 3335 def data_errors @data_errors end |
#num_human_labeled_examples ⇒ Fixnum
The number of rows marked HUMAN_LABELLED
Corresponds to the JSON property numHumanLabeledExamples
3340 3341 3342 |
# File 'lib/google/apis/language_v2/classes.rb', line 3340 def num_human_labeled_examples @num_human_labeled_examples end |
#num_logs_examples ⇒ Fixnum
The number of samples found in the previously recorded logs data.
Corresponds to the JSON property numLogsExamples
3345 3346 3347 |
# File 'lib/google/apis/language_v2/classes.rb', line 3345 def num_logs_examples @num_logs_examples end |
#num_machine_transcribed_examples ⇒ Fixnum
The number of rows marked as MACHINE_TRANSCRIBED
Corresponds to the JSON property numMachineTranscribedExamples
3350 3351 3352 |
# File 'lib/google/apis/language_v2/classes.rb', line 3350 def num_machine_transcribed_examples @num_machine_transcribed_examples end |
#test_examples_count ⇒ Fixnum
The number of examples labelled as TEST by Speech xps server.
Corresponds to the JSON property testExamplesCount
3355 3356 3357 |
# File 'lib/google/apis/language_v2/classes.rb', line 3355 def test_examples_count @test_examples_count end |
#test_sentences_count ⇒ Fixnum
The number of sentences in the test data set.
Corresponds to the JSON property testSentencesCount
3360 3361 3362 |
# File 'lib/google/apis/language_v2/classes.rb', line 3360 def test_sentences_count @test_sentences_count end |
#test_words_count ⇒ Fixnum
The number of words in the test data set.
Corresponds to the JSON property testWordsCount
3365 3366 3367 |
# File 'lib/google/apis/language_v2/classes.rb', line 3365 def test_words_count @test_words_count end |
#train_examples_count ⇒ Fixnum
The number of examples labeled as TRAIN by Speech xps server.
Corresponds to the JSON property trainExamplesCount
3370 3371 3372 |
# File 'lib/google/apis/language_v2/classes.rb', line 3370 def train_examples_count @train_examples_count end |
#train_sentences_count ⇒ Fixnum
The number of sentences in the training data set.
Corresponds to the JSON property trainSentencesCount
3375 3376 3377 |
# File 'lib/google/apis/language_v2/classes.rb', line 3375 def train_sentences_count @train_sentences_count end |
#train_words_count ⇒ Fixnum
The number of words in the training data set.
Corresponds to the JSON property trainWordsCount
3380 3381 3382 |
# File 'lib/google/apis/language_v2/classes.rb', line 3380 def train_words_count @train_words_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 |
# File 'lib/google/apis/language_v2/classes.rb', line 3387 def update!(**args) @data_errors = args[:data_errors] if args.key?(:data_errors) @num_human_labeled_examples = args[:num_human_labeled_examples] if args.key?(:num_human_labeled_examples) @num_logs_examples = args[:num_logs_examples] if args.key?(:num_logs_examples) @num_machine_transcribed_examples = args[:num_machine_transcribed_examples] if args.key?(:num_machine_transcribed_examples) @test_examples_count = args[:test_examples_count] if args.key?(:test_examples_count) @test_sentences_count = args[:test_sentences_count] if args.key?(:test_sentences_count) @test_words_count = args[:test_words_count] if args.key?(:test_words_count) @train_examples_count = args[:train_examples_count] if args.key?(:train_examples_count) @train_sentences_count = args[:train_sentences_count] if args.key?(:train_sentences_count) @train_words_count = args[:train_words_count] if args.key?(:train_words_count) end |