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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Provides information about a document classifier.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#evaluation_metricsTypes::ClassifierEvaluationMetrics

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

Returns:

#number_of_labelsInteger

The number of labels in the input data.

Returns:

  • (Integer)

    The number of labels in the input data.

#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)

    The number of documents in the input data that were used to test the classifier.

#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)

    The number of documents in the input data that were used to train the classifier.