| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="documentai_v1beta3.html">Cloud Document AI API</a> . <a href="documentai_v1beta3.projects.html">projects</a> . <a href="documentai_v1beta3.projects.locations.html">locations</a> . <a href="documentai_v1beta3.projects.locations.processors.html">processors</a> . <a href="documentai_v1beta3.projects.locations.processors.processorVersions.html">processorVersions</a> . <a href="documentai_v1beta3.projects.locations.processors.processorVersions.evaluations.html">evaluations</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Retrieves a specific evaluation.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Retrieves a set of evaluations for a given processor version.</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list_next">list_next()</a></code></p> |
| 88 |
<p class="firstline">Retrieves the next page of results.</p> |
| 89 |
<h3>Method Details</h3> |
| 90 |
<div class="method"> |
| 91 |
<code class="details" id="close">close()</code> |
| 92 |
<pre>Close httplib2 connections.</pre> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="method"> |
| 96 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 97 |
<pre>Retrieves a specific evaluation. |
| 98 |
|
| 99 |
Args: |
| 100 |
name: string, Required. The resource name of the Evaluation to get. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}` (required) |
| 101 |
x__xgafv: string, V1 error format. |
| 102 |
Allowed values |
| 103 |
1 - v1 error format |
| 104 |
2 - v2 error format |
| 105 |
|
| 106 |
Returns: |
| 107 |
An object of the form: |
| 108 |
|
| 109 |
{ # An evaluation of a ProcessorVersion's performance. |
| 110 |
"allEntitiesMetrics": { # Metrics across multiple confidence levels. # Metrics for all the entities in aggregate. |
| 111 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 112 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 113 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 114 |
{ # Evaluations metrics, at a specific confidence level. |
| 115 |
"confidenceLevel": 3.14, # The confidence level. |
| 116 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 117 |
"f1Score": 3.14, # The calculated F1 score. |
| 118 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 119 |
"falsePositivesCount": 42, # The amount of false positives. |
| 120 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 121 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 122 |
"precision": 3.14, # The calculated precision. |
| 123 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 124 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 125 |
"recall": 3.14, # The calculated recall. |
| 126 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 127 |
"truePositivesCount": 42, # The amount of true positives. |
| 128 |
}, |
| 129 |
}, |
| 130 |
], |
| 131 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 132 |
{ # Evaluations metrics, at a specific confidence level. |
| 133 |
"confidenceLevel": 3.14, # The confidence level. |
| 134 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 135 |
"f1Score": 3.14, # The calculated F1 score. |
| 136 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 137 |
"falsePositivesCount": 42, # The amount of false positives. |
| 138 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 139 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 140 |
"precision": 3.14, # The calculated precision. |
| 141 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 142 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 143 |
"recall": 3.14, # The calculated recall. |
| 144 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 145 |
"truePositivesCount": 42, # The amount of true positives. |
| 146 |
}, |
| 147 |
}, |
| 148 |
], |
| 149 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 150 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 151 |
"metricsType": "A String", # The metrics type for the label. |
| 152 |
}, |
| 153 |
"createTime": "A String", # The time that the evaluation was created. |
| 154 |
"documentCounters": { # Evaluation counters for the documents that were used. # Counters for the documents used in the evaluation. |
| 155 |
"evaluatedDocumentsCount": 42, # How many documents were used in the evaluation. |
| 156 |
"failedDocumentsCount": 42, # How many documents were not included in the evaluation as Document AI failed to process them. |
| 157 |
"inputDocumentsCount": 42, # How many documents were sent for evaluation. |
| 158 |
"invalidDocumentsCount": 42, # How many documents were not included in the evaluation as they didn't pass validation. |
| 159 |
}, |
| 160 |
"entityMetrics": { # Metrics across confidence levels, for different entities. |
| 161 |
"a_key": { # Metrics across multiple confidence levels. |
| 162 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 163 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 164 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 165 |
{ # Evaluations metrics, at a specific confidence level. |
| 166 |
"confidenceLevel": 3.14, # The confidence level. |
| 167 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 168 |
"f1Score": 3.14, # The calculated F1 score. |
| 169 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 170 |
"falsePositivesCount": 42, # The amount of false positives. |
| 171 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 172 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 173 |
"precision": 3.14, # The calculated precision. |
| 174 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 175 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 176 |
"recall": 3.14, # The calculated recall. |
| 177 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 178 |
"truePositivesCount": 42, # The amount of true positives. |
| 179 |
}, |
| 180 |
}, |
| 181 |
], |
| 182 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 183 |
{ # Evaluations metrics, at a specific confidence level. |
| 184 |
"confidenceLevel": 3.14, # The confidence level. |
| 185 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 186 |
"f1Score": 3.14, # The calculated F1 score. |
| 187 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 188 |
"falsePositivesCount": 42, # The amount of false positives. |
| 189 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 190 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 191 |
"precision": 3.14, # The calculated precision. |
| 192 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 193 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 194 |
"recall": 3.14, # The calculated recall. |
| 195 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 196 |
"truePositivesCount": 42, # The amount of true positives. |
| 197 |
}, |
| 198 |
}, |
| 199 |
], |
| 200 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 201 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 202 |
"metricsType": "A String", # The metrics type for the label. |
| 203 |
}, |
| 204 |
}, |
| 205 |
"kmsKeyName": "A String", # The KMS key name used for encryption. |
| 206 |
"kmsKeyVersionName": "A String", # The KMS key version with which data is encrypted. |
| 207 |
"name": "A String", # The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}` |
| 208 |
"revisions": [ # Contains all revisions of the evaluation, excluding the latest one. |
| 209 |
{ # A revision of the evaluation. |
| 210 |
"allEntitiesMetrics": { # Metrics across multiple confidence levels. # Output only. Metrics for all the entities in aggregate. |
| 211 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 212 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 213 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 214 |
{ # Evaluations metrics, at a specific confidence level. |
| 215 |
"confidenceLevel": 3.14, # The confidence level. |
| 216 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 217 |
"f1Score": 3.14, # The calculated F1 score. |
| 218 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 219 |
"falsePositivesCount": 42, # The amount of false positives. |
| 220 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 221 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 222 |
"precision": 3.14, # The calculated precision. |
| 223 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 224 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 225 |
"recall": 3.14, # The calculated recall. |
| 226 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 227 |
"truePositivesCount": 42, # The amount of true positives. |
| 228 |
}, |
| 229 |
}, |
| 230 |
], |
| 231 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 232 |
{ # Evaluations metrics, at a specific confidence level. |
| 233 |
"confidenceLevel": 3.14, # The confidence level. |
| 234 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 235 |
"f1Score": 3.14, # The calculated F1 score. |
| 236 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 237 |
"falsePositivesCount": 42, # The amount of false positives. |
| 238 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 239 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 240 |
"precision": 3.14, # The calculated precision. |
| 241 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 242 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 243 |
"recall": 3.14, # The calculated recall. |
| 244 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 245 |
"truePositivesCount": 42, # The amount of true positives. |
| 246 |
}, |
| 247 |
}, |
| 248 |
], |
| 249 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 250 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 251 |
"metricsType": "A String", # The metrics type for the label. |
| 252 |
}, |
| 253 |
"documentCounters": { # Evaluation counters for the documents that were used. # Output only. Counters for the documents used in the evaluation. |
| 254 |
"evaluatedDocumentsCount": 42, # How many documents were used in the evaluation. |
| 255 |
"failedDocumentsCount": 42, # How many documents were not included in the evaluation as Document AI failed to process them. |
| 256 |
"inputDocumentsCount": 42, # How many documents were sent for evaluation. |
| 257 |
"invalidDocumentsCount": 42, # How many documents were not included in the evaluation as they didn't pass validation. |
| 258 |
}, |
| 259 |
"entityMetrics": { # Output only. Metrics across confidence levels, for different entities. |
| 260 |
"a_key": { # Metrics across multiple confidence levels. |
| 261 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 262 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 263 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 264 |
{ # Evaluations metrics, at a specific confidence level. |
| 265 |
"confidenceLevel": 3.14, # The confidence level. |
| 266 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 267 |
"f1Score": 3.14, # The calculated F1 score. |
| 268 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 269 |
"falsePositivesCount": 42, # The amount of false positives. |
| 270 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 271 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 272 |
"precision": 3.14, # The calculated precision. |
| 273 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 274 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 275 |
"recall": 3.14, # The calculated recall. |
| 276 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 277 |
"truePositivesCount": 42, # The amount of true positives. |
| 278 |
}, |
| 279 |
}, |
| 280 |
], |
| 281 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 282 |
{ # Evaluations metrics, at a specific confidence level. |
| 283 |
"confidenceLevel": 3.14, # The confidence level. |
| 284 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 285 |
"f1Score": 3.14, # The calculated F1 score. |
| 286 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 287 |
"falsePositivesCount": 42, # The amount of false positives. |
| 288 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 289 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 290 |
"precision": 3.14, # The calculated precision. |
| 291 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 292 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 293 |
"recall": 3.14, # The calculated recall. |
| 294 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 295 |
"truePositivesCount": 42, # The amount of true positives. |
| 296 |
}, |
| 297 |
}, |
| 298 |
], |
| 299 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 300 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 301 |
"metricsType": "A String", # The metrics type for the label. |
| 302 |
}, |
| 303 |
}, |
| 304 |
"revisionId": "A String", # Output only. The revision ID of the evaluation. |
| 305 |
}, |
| 306 |
], |
| 307 |
}</pre> |
| 308 |
</div> |
| 309 |
|
| 310 |
<div class="method"> |
| 311 |
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 312 |
<pre>Retrieves a set of evaluations for a given processor version. |
| 313 |
|
| 314 |
Args: |
| 315 |
parent: string, Required. The resource name of the ProcessorVersion to list evaluations for. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` (required) |
| 316 |
pageSize: integer, The standard list page size. If unspecified, at most `5` evaluations are returned. The maximum value is `100`. Values above `100` are coerced to `100`. |
| 317 |
pageToken: string, A page token, received from a previous `ListEvaluations` call. Provide this to retrieve the subsequent page. |
| 318 |
x__xgafv: string, V1 error format. |
| 319 |
Allowed values |
| 320 |
1 - v1 error format |
| 321 |
2 - v2 error format |
| 322 |
|
| 323 |
Returns: |
| 324 |
An object of the form: |
| 325 |
|
| 326 |
{ # The response from `ListEvaluations`. |
| 327 |
"evaluations": [ # The evaluations requested. |
| 328 |
{ # An evaluation of a ProcessorVersion's performance. |
| 329 |
"allEntitiesMetrics": { # Metrics across multiple confidence levels. # Metrics for all the entities in aggregate. |
| 330 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 331 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 332 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 333 |
{ # Evaluations metrics, at a specific confidence level. |
| 334 |
"confidenceLevel": 3.14, # The confidence level. |
| 335 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 336 |
"f1Score": 3.14, # The calculated F1 score. |
| 337 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 338 |
"falsePositivesCount": 42, # The amount of false positives. |
| 339 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 340 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 341 |
"precision": 3.14, # The calculated precision. |
| 342 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 343 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 344 |
"recall": 3.14, # The calculated recall. |
| 345 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 346 |
"truePositivesCount": 42, # The amount of true positives. |
| 347 |
}, |
| 348 |
}, |
| 349 |
], |
| 350 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 351 |
{ # Evaluations metrics, at a specific confidence level. |
| 352 |
"confidenceLevel": 3.14, # The confidence level. |
| 353 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 354 |
"f1Score": 3.14, # The calculated F1 score. |
| 355 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 356 |
"falsePositivesCount": 42, # The amount of false positives. |
| 357 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 358 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 359 |
"precision": 3.14, # The calculated precision. |
| 360 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 361 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 362 |
"recall": 3.14, # The calculated recall. |
| 363 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 364 |
"truePositivesCount": 42, # The amount of true positives. |
| 365 |
}, |
| 366 |
}, |
| 367 |
], |
| 368 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 369 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 370 |
"metricsType": "A String", # The metrics type for the label. |
| 371 |
}, |
| 372 |
"createTime": "A String", # The time that the evaluation was created. |
| 373 |
"documentCounters": { # Evaluation counters for the documents that were used. # Counters for the documents used in the evaluation. |
| 374 |
"evaluatedDocumentsCount": 42, # How many documents were used in the evaluation. |
| 375 |
"failedDocumentsCount": 42, # How many documents were not included in the evaluation as Document AI failed to process them. |
| 376 |
"inputDocumentsCount": 42, # How many documents were sent for evaluation. |
| 377 |
"invalidDocumentsCount": 42, # How many documents were not included in the evaluation as they didn't pass validation. |
| 378 |
}, |
| 379 |
"entityMetrics": { # Metrics across confidence levels, for different entities. |
| 380 |
"a_key": { # Metrics across multiple confidence levels. |
| 381 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 382 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 383 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 384 |
{ # Evaluations metrics, at a specific confidence level. |
| 385 |
"confidenceLevel": 3.14, # The confidence level. |
| 386 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 387 |
"f1Score": 3.14, # The calculated F1 score. |
| 388 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 389 |
"falsePositivesCount": 42, # The amount of false positives. |
| 390 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 391 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 392 |
"precision": 3.14, # The calculated precision. |
| 393 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 394 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 395 |
"recall": 3.14, # The calculated recall. |
| 396 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 397 |
"truePositivesCount": 42, # The amount of true positives. |
| 398 |
}, |
| 399 |
}, |
| 400 |
], |
| 401 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 402 |
{ # Evaluations metrics, at a specific confidence level. |
| 403 |
"confidenceLevel": 3.14, # The confidence level. |
| 404 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 405 |
"f1Score": 3.14, # The calculated F1 score. |
| 406 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 407 |
"falsePositivesCount": 42, # The amount of false positives. |
| 408 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 409 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 410 |
"precision": 3.14, # The calculated precision. |
| 411 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 412 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 413 |
"recall": 3.14, # The calculated recall. |
| 414 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 415 |
"truePositivesCount": 42, # The amount of true positives. |
| 416 |
}, |
| 417 |
}, |
| 418 |
], |
| 419 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 420 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 421 |
"metricsType": "A String", # The metrics type for the label. |
| 422 |
}, |
| 423 |
}, |
| 424 |
"kmsKeyName": "A String", # The KMS key name used for encryption. |
| 425 |
"kmsKeyVersionName": "A String", # The KMS key version with which data is encrypted. |
| 426 |
"name": "A String", # The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}` |
| 427 |
"revisions": [ # Contains all revisions of the evaluation, excluding the latest one. |
| 428 |
{ # A revision of the evaluation. |
| 429 |
"allEntitiesMetrics": { # Metrics across multiple confidence levels. # Output only. Metrics for all the entities in aggregate. |
| 430 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 431 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 432 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 433 |
{ # Evaluations metrics, at a specific confidence level. |
| 434 |
"confidenceLevel": 3.14, # The confidence level. |
| 435 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 436 |
"f1Score": 3.14, # The calculated F1 score. |
| 437 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 438 |
"falsePositivesCount": 42, # The amount of false positives. |
| 439 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 440 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 441 |
"precision": 3.14, # The calculated precision. |
| 442 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 443 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 444 |
"recall": 3.14, # The calculated recall. |
| 445 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 446 |
"truePositivesCount": 42, # The amount of true positives. |
| 447 |
}, |
| 448 |
}, |
| 449 |
], |
| 450 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 451 |
{ # Evaluations metrics, at a specific confidence level. |
| 452 |
"confidenceLevel": 3.14, # The confidence level. |
| 453 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 454 |
"f1Score": 3.14, # The calculated F1 score. |
| 455 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 456 |
"falsePositivesCount": 42, # The amount of false positives. |
| 457 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 458 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 459 |
"precision": 3.14, # The calculated precision. |
| 460 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 461 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 462 |
"recall": 3.14, # The calculated recall. |
| 463 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 464 |
"truePositivesCount": 42, # The amount of true positives. |
| 465 |
}, |
| 466 |
}, |
| 467 |
], |
| 468 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 469 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 470 |
"metricsType": "A String", # The metrics type for the label. |
| 471 |
}, |
| 472 |
"documentCounters": { # Evaluation counters for the documents that were used. # Output only. Counters for the documents used in the evaluation. |
| 473 |
"evaluatedDocumentsCount": 42, # How many documents were used in the evaluation. |
| 474 |
"failedDocumentsCount": 42, # How many documents were not included in the evaluation as Document AI failed to process them. |
| 475 |
"inputDocumentsCount": 42, # How many documents were sent for evaluation. |
| 476 |
"invalidDocumentsCount": 42, # How many documents were not included in the evaluation as they didn't pass validation. |
| 477 |
}, |
| 478 |
"entityMetrics": { # Output only. Metrics across confidence levels, for different entities. |
| 479 |
"a_key": { # Metrics across multiple confidence levels. |
| 480 |
"auprc": 3.14, # The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds. |
| 481 |
"auprcExact": 3.14, # The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only. |
| 482 |
"confidenceLevelMetrics": [ # Metrics across confidence levels with fuzzy matching enabled. |
| 483 |
{ # Evaluations metrics, at a specific confidence level. |
| 484 |
"confidenceLevel": 3.14, # The confidence level. |
| 485 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 486 |
"f1Score": 3.14, # The calculated F1 score. |
| 487 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 488 |
"falsePositivesCount": 42, # The amount of false positives. |
| 489 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 490 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 491 |
"precision": 3.14, # The calculated precision. |
| 492 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 493 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 494 |
"recall": 3.14, # The calculated recall. |
| 495 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 496 |
"truePositivesCount": 42, # The amount of true positives. |
| 497 |
}, |
| 498 |
}, |
| 499 |
], |
| 500 |
"confidenceLevelMetricsExact": [ # Metrics across confidence levels with only exact matching. |
| 501 |
{ # Evaluations metrics, at a specific confidence level. |
| 502 |
"confidenceLevel": 3.14, # The confidence level. |
| 503 |
"metrics": { # Evaluation metrics, either in aggregate or about a specific entity. # The metrics at the specific confidence level. |
| 504 |
"f1Score": 3.14, # The calculated F1 score. |
| 505 |
"falseNegativesCount": 42, # The amount of false negatives. |
| 506 |
"falsePositivesCount": 42, # The amount of false positives. |
| 507 |
"groundTruthDocumentCount": 42, # The amount of documents with a ground truth occurrence. |
| 508 |
"groundTruthOccurrencesCount": 42, # The amount of occurrences in ground truth documents. |
| 509 |
"precision": 3.14, # The calculated precision. |
| 510 |
"predictedDocumentCount": 42, # The amount of documents with a predicted occurrence. |
| 511 |
"predictedOccurrencesCount": 42, # The amount of occurrences in predicted documents. |
| 512 |
"recall": 3.14, # The calculated recall. |
| 513 |
"totalDocumentsCount": 42, # The amount of documents that had an occurrence of this label. |
| 514 |
"truePositivesCount": 42, # The amount of true positives. |
| 515 |
}, |
| 516 |
}, |
| 517 |
], |
| 518 |
"estimatedCalibrationError": 3.14, # The Estimated Calibration Error (ECE) of the confidence of the predicted entities. |
| 519 |
"estimatedCalibrationErrorExact": 3.14, # The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only. |
| 520 |
"metricsType": "A String", # The metrics type for the label. |
| 521 |
}, |
| 522 |
}, |
| 523 |
"revisionId": "A String", # Output only. The revision ID of the evaluation. |
| 524 |
}, |
| 525 |
], |
| 526 |
}, |
| 527 |
], |
| 528 |
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| 529 |
}</pre> |
| 530 |
</div> |
| 531 |
|
| 532 |
<div class="method"> |
| 533 |
<code class="details" id="list_next">list_next()</code> |
| 534 |
<pre>Retrieves the next page of results. |
| 535 |
|
| 536 |
Args: |
| 537 |
previous_request: The request for the previous page. (required) |
| 538 |
previous_response: The response from the request for the previous page. (required) |
| 539 |
|
| 540 |
Returns: |
| 541 |
A request object that you can call 'execute()' on to request the next |
| 542 |
page. Returns None if there are no more items in the collection. |
| 543 |
</pre> |
| 544 |
</div> |
| 545 |
|
| 546 |
</body></html> |