Amazon Comprehend · Schema

ClassifierMetadata

Provides information about a document classifier.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
NumberOfLabels object
NumberOfTrainedDocuments object
NumberOfTestDocuments object
EvaluationMetrics object
View JSON Schema on GitHub

JSON Schema

openapi.yml-classifier-metadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-classifier-metadata-schema.json",
  "title": "ClassifierMetadata",
  "description": "Provides information about a document classifier.",
  "type": "object",
  "properties": {
    "NumberOfLabels": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The number of labels in the input data. "
        }
      ]
    },
    "NumberOfTrainedDocuments": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "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."
        }
      ]
    },
    "NumberOfTestDocuments": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "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."
        }
      ]
    },
    "EvaluationMetrics": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ClassifierEvaluationMetrics"
        },
        {
          "description": " Describes the result metrics for the test data associated with an documentation classifier."
        }
      ]
    }
  }
}