- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- ExportEvaluatedExamplesOutputConfig
Exports examples on which the model was evaluated (i.e. which were in the TEST set of the dataset the model was created from), together with their ground truth annotations and the annotations created (predicted) by the model. The examples, ground truth and predictions are exported in the state they were at the moment the model was evaluated.
This export is available only for 30 days since the model evaluation is created.
Currently only available for Tables.
Returns an empty response in the response
field when it completes.
HTTP request
POST https://automl.googleapis.com/v1beta1/{name}:exportEvaluatedExamples
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the model whose evaluated examples are to be exported. Authorization requires the following Google IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"outputConfig": {
object ( |
Fields | |
---|---|
outputConfig |
Required. The desired output location and configuration. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
ExportEvaluatedExamplesOutputConfig
Output configuration for models.exportEvaluatedExamples Action. Note that this call is available only for 30 days since the moment the model was evaluated. The output depends on the domain, as follows (note that only examples from the TEST set are exported):
- For Tables:
bigqueryDestination
pointing to a BigQuery project must be set. In the given project a new dataset will be created with name
export_evaluated_examples_<model-display-name>_<timestamp-of-export-call>
where evaluatedExamples
table will be created. It will have all the same columns as the
primary_table
of the dataset
from which the model was created, as they were at the moment of model's evaluation (this includes the target column with its ground truth), followed by a column called "predicted_AnnotationPayloads
, represented as STRUCT-s, containing TablesAnnotation
.
JSON representation | |
---|---|
{
"bigqueryDestination": {
object ( |
Fields | |
---|---|
bigqueryDestination |
The BigQuery location where the output is to be written to. |