Class: Google::Apis::LanguageV1beta2::XpsSpeechPreprocessStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsSpeechPreprocessStats

Returns a new instance of XpsSpeechPreprocessStats.



3683
3684
3685
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3683

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_errorsArray<Google::Apis::LanguageV1beta2::XpsDataErrors>

Different types of data errors and the counts associated with them. Corresponds to the JSON property dataErrors



3636
3637
3638
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3636

def data_errors
  @data_errors
end

#num_human_labeled_examplesFixnum

The number of rows marked HUMAN_LABELLED Corresponds to the JSON property numHumanLabeledExamples

Returns:

  • (Fixnum)


3641
3642
3643
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3641

def num_human_labeled_examples
  @num_human_labeled_examples
end

#num_logs_examplesFixnum

The number of samples found in the previously recorded logs data. Corresponds to the JSON property numLogsExamples

Returns:

  • (Fixnum)


3646
3647
3648
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3646

def num_logs_examples
  @num_logs_examples
end

#num_machine_transcribed_examplesFixnum

The number of rows marked as MACHINE_TRANSCRIBED Corresponds to the JSON property numMachineTranscribedExamples

Returns:

  • (Fixnum)


3651
3652
3653
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3651

def num_machine_transcribed_examples
  @num_machine_transcribed_examples
end

#test_examples_countFixnum

The number of examples labelled as TEST by Speech xps server. Corresponds to the JSON property testExamplesCount

Returns:

  • (Fixnum)


3656
3657
3658
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3656

def test_examples_count
  @test_examples_count
end

#test_sentences_countFixnum

The number of sentences in the test data set. Corresponds to the JSON property testSentencesCount

Returns:

  • (Fixnum)


3661
3662
3663
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3661

def test_sentences_count
  @test_sentences_count
end

#test_words_countFixnum

The number of words in the test data set. Corresponds to the JSON property testWordsCount

Returns:

  • (Fixnum)


3666
3667
3668
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3666

def test_words_count
  @test_words_count
end

#train_examples_countFixnum

The number of examples labeled as TRAIN by Speech xps server. Corresponds to the JSON property trainExamplesCount

Returns:

  • (Fixnum)


3671
3672
3673
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3671

def train_examples_count
  @train_examples_count
end

#train_sentences_countFixnum

The number of sentences in the training data set. Corresponds to the JSON property trainSentencesCount

Returns:

  • (Fixnum)


3676
3677
3678
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3676

def train_sentences_count
  @train_sentences_count
end

#train_words_countFixnum

The number of words in the training data set. Corresponds to the JSON property trainWordsCount

Returns:

  • (Fixnum)


3681
3682
3683
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3681

def train_words_count
  @train_words_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3688

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