Skip to content

Commit 817a97b

Browse files
committed
add confusion matrix json schema
1 parent e5973c6 commit 817a97b

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"$id": "https://amazon.com/sagemaker.graph.schema.json",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"title": "Confusion Matrix",
5+
"type": "object",
6+
"description": "Describes serialized confusion matrix data in json format.",
7+
"properties": {
8+
"type": {
9+
"description": "Constant value that provides an indicator on how to interpret this data.",
10+
"const": "ConfusionMatrix"
11+
},
12+
"version": {
13+
"description": "Version of the schema",
14+
"const": "0"
15+
},
16+
"title": {
17+
"description": "Title of the plot",
18+
"type": "string"
19+
},
20+
"confusionMatrix": {
21+
"description": "The confusion matrix data.",
22+
"type": "array",
23+
"items": {
24+
"type": "array"
25+
}
26+
},
27+
"labels": {
28+
"description": "Class labels.",
29+
"type": "array",
30+
"items": {
31+
"type": "string"
32+
}
33+
}
34+
},
35+
"additionalProperties": false
36+
}

0 commit comments

Comments
 (0)