Amazon Comprehend · JSON Structure

Openapi.Yml Classifier Metadata Structure

Provides information about a document classifier.

Type: object Properties: 4
Machine LearningNatural Language ProcessingNLPText Analysis

ClassifierMetadata is a JSON Structure definition published by Amazon Comprehend, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

NumberOfLabels NumberOfTrainedDocuments NumberOfTestDocuments EvaluationMetrics

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-classifier-metadata-structure.json",
  "name": "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."
        }
      ]
    }
  }
}