Class: Aws::Comprehend::Types::ClassifierMetadata

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Provides information about a document classifier.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluation_metricsTypes::ClassifierEvaluationMetrics

Describes the result metrics for the test data associated with an documentation classifier.



561
562
563
564
565
566
567
568
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 561

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_labelsInteger

The number of labels in the input data.

Returns:

  • (Integer)


561
562
563
564
565
566
567
568
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 561

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_test_documentsInteger

The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.

Returns:

  • (Integer)


561
562
563
564
565
566
567
568
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 561

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_trained_documentsInteger

The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.

Returns:

  • (Integer)


561
562
563
564
565
566
567
568
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 561

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  SENSITIVE = []
  include Aws::Structure
end