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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-comprehend/types.rb', line 766

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)


766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-comprehend/types.rb', line 766

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)


766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-comprehend/types.rb', line 766

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)


766
767
768
769
770
771
772
773
# File 'lib/aws-sdk-comprehend/types.rb', line 766

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