Full name: projects.locations.datasets.annotationStores.evaluate
Evaluate an Annotation store
against a ground truth Annotation store
. When the operation finishes successfully, a detailed response is returned of type EvaluateAnnotationStoreResponse
, contained in the [response]
[google.longrunning.Operation.result.response]. The metadata
field type is OperationMetadata
. Errors are logged to Cloud Logging (see Viewing error logs in Cloud Logging).
HTTP request
POST https://healthcare.googleapis.com/v1beta1/{name=projects/*/locations/*/datasets/*/annotationStores/*}:evaluate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The Annotation store to compare against Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "evalInfoTypeMapping": { string: string, ... }, "goldenStore": string, "goldenInfoTypeMapping": { string: string, ... }, "infoTypeConfig": { object( |
Fields | |
---|---|
eval |
Optional. InfoType mapping for
Unmentioned infoTypes, such as
InfoTypes are case-insensitive. An object containing a list of |
golden |
Required. The Annotation store to use as ground truth, in the format of |
golden |
Optional. Similar to An object containing a list of |
info |
|
Union field report_destination . Specifies the report location. report_destination can be only one of the following: |
|
bigquery |
The BigQuery table where the server writes the output. BigQueryDestination requires the |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-healthcare
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
InfoTypeConfig
Specifies how to use infoTypes for evaluation. For example, a user might only want to evaluate PERSON
, LOCATION
, and AGE
.
JSON representation |
---|
{ "strictMatching": boolean, // Union field |
Fields | |
---|---|
strict |
If
When
When
|
Union field filter . filter allows users to flexibly choose a subset of infoTypes for evaluation. If not specified, default behavior is to keep all infoTypes. filter can be only one of the following: |
|
evaluate |
|
ignore |
|
FilterList
List of infoTypes to be filtered.
JSON representation |
---|
{ "infoTypes": [ string ] } |
Fields | |
---|---|
info |
These infoTypes are based on after the |