View Source GoogleApi.HealthCare.V1beta1.Model.InfoTypeConfig (google_api_health_care v0.50.1)
Specifies how to use infoTypes for evaluation. For example, a user might only want to evaluate PERSON
, LOCATION
, and AGE
.
Attributes
-
evaluateList
(type:GoogleApi.HealthCare.V1beta1.Model.FilterList.t
, default:nil
) - -
ignoreList
(type:GoogleApi.HealthCare.V1beta1.Model.FilterList.t
, default:nil
) - -
strictMatching
(type:boolean()
, default:nil
) - IfTRUE
, infoTypes described byfilter
are used for evaluation. Otherwise, infoTypes are not considered for evaluation. For example: Annotated text: "Toronto is a location" Finding 1:{"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7}
Finding 2:{"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7}
Finding 3:{}
Ground truth:{"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7}
Whenstrict_matching
isTRUE
: Finding 1: 1 false positive Finding 2: 1 false positive Finding 3: 1 false negative Whenstrict_matching
isFALSE
: Finding 1: 1 true positive Finding 2: 1 true positive * Finding 3: 1 false negative
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.HealthCare.V1beta1.Model.InfoTypeConfig{ evaluateList: GoogleApi.HealthCare.V1beta1.Model.FilterList.t() | nil, ignoreList: GoogleApi.HealthCare.V1beta1.Model.FilterList.t() | nil, strictMatching: boolean() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.