class Google::Apis::PredictionV1_6::Output::OutputMulti

Attributes

label[RW]

The class label. Corresponds to the JSON property `label` @return [String]

score[RW]

The probability of the class label. Corresponds to the JSON property `score` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/prediction_v1_6/classes.rb, line 718
def update!(**args)
  @label = args[:label] if args.key?(:label)
  @score = args[:score] if args.key?(:score)
end