annotationSpecs[]
object (AnnotationSpecRef)
AnnotationSpecs used in the confusion matrix.
For AutoML Text Extraction, a special negative AnnotationSpec with empty id and displayName of "NULL" will be added as the last element.
rows[]
array (ListValue format)
rows in the confusion matrix. The number of rows is equal to the size of annotationSpecs. rows[i][j] is the number of DataItems that have ground truth of the annotationSpecs[i] and are predicted as annotationSpecs[j] by the Model being evaluated.
For Text Extraction, when annotationSpecs[i] is the last element in annotationSpecs, i.e. the special negative AnnotationSpec, rows[i][j] is the number of predicted entities of annoatationSpec[j] that are not labeled as any of the ground truth AnnotationSpec. When annotationSpecs[j] is the special negative AnnotationSpec, rows[i][j] is the number of entities have ground truth of annotationSpec[i] that are not predicted as an entity by the Model. The value of the last cell, i.e. row[i][j] where i == j and annotationSpec[i] is the special negative AnnotationSpec, is always 0.
| JSON representation |
|---|
{
"annotationSpecs": [
{
object ( |
AnnotationSpecRef
id
string
id of the AnnotationSpec.
displayName
string
Display name of the AnnotationSpec.
| JSON representation |
|---|
{ "id": string, "displayName": string } |