GoogleApi.HealthCare.V1beta1.Model.InfoTypeConfig (google_api_health_care v0.40.0) View Source
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 byfilterare 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_matchingisTRUE: Finding 1: 1 false positive Finding 2: 1 false positive Finding 3: 1 false negative Whenstrict_matchingisFALSE: Finding 1: 1 true positive Finding 2: 1 true positive * Finding 3: 1 false negative
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
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
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.