class Google::Apis::HealthcareV1::Feature

A feature of an entity mention.

Attributes

confidence[RW]

The model's confidence in this feature annotation. A number between 0 and 1. Corresponds to the JSON property `confidence` @return [Float]

value[RW]

The value of this feature annotation. Its range depends on the type of the feature. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 1486
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 1491
def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
  @value = args[:value] if args.key?(:value)
end