Class: Google::Cloud::Language::V1beta2::ClassificationCategory

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb

Overview

Represents a category returned from the text classifier.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Returns The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.

Returns:

  • (Float)

    The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.



799
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 799

class ClassificationCategory; end

#nameString

Returns The name of the category representing the document.

Returns:

  • (String)

    The name of the category representing the document.



799
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 799

class ClassificationCategory; end