You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#evaluation_metricsTypes::ClassifierEvaluationMetrics

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



469
470
471
472
473
474
475
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 469

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

#number_of_labelsInteger

The number of labels in the input data.

Returns:

  • (Integer)


469
470
471
472
473
474
475
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 469

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  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.

Returns:

  • (Integer)


469
470
471
472
473
474
475
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 469

class ClassifierMetadata < Struct.new(
  :number_of_labels,
  :number_of_trained_documents,
  :number_of_test_documents,
  :evaluation_metrics)
  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)


469
470
471
472
473
474
475
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 469

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