Openapi.Yml Classifier Evaluation Metrics Structure
Describes the result metrics for the test data associated with an documentation classifier.
ClassifierEvaluationMetrics is a JSON Structure definition published by Amazon Comprehend, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-evaluation-metrics-structure.json",
"name": "ClassifierEvaluationMetrics",
"description": "Describes the result metrics for the test data associated with an documentation classifier.",
"type": "object",
"properties": {
"Accuracy": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "The fraction of the labels that were correct recognized. It is computed by dividing the number of labels in the test documents that were correctly recognized by the total number of labels in the test documents."
}
]
},
"Precision": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones."
}
]
},
"Recall": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. "
}
]
},
"F1Score": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of how accurate the classifier results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. "
}
]
},
"MicroPrecision": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. Unlike the Precision metric which comes from averaging the precision of all available labels, this is based on the overall score of all precision scores added together."
}
]
},
"MicroRecall": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. Specifically, this indicates how many of the correct categories in the text that the model can predict. It is a percentage of correct categories in the text that can found. Instead of averaging the recall scores of all labels (as with Recall), micro Recall is based on the overall score of all recall scores added together."
}
]
},
"MicroF1Score": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "A measure of how accurate the classifier results are for the test data. It is a combination of the <code>Micro Precision</code> and <code>Micro Recall</code> values. The <code>Micro F1Score</code> is the harmonic mean of the two scores. The highest score is 1, and the worst score is 0."
}
]
},
"HammingLoss": {
"allOf": [
{
"$ref": "#/components/schemas/Double"
},
{
"description": "Indicates the fraction of labels that are incorrectly predicted. Also seen as the fraction of wrong labels compared to the total number of labels. Scores closer to zero are better."
}
]
}
}
}
Work with this as data
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/openapi.yml-classifier-evaluation-metrics-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.