class Google::Apis::PredictionV1_6::Output
Attributes
id[RW]
The unique name for the predictive model. Corresponds to the JSON property `id` @return [String]
kind[RW]
What kind of resource this is. Corresponds to the JSON property `kind` @return [String]
output_label[RW]
The most likely class label (Categorical models only). Corresponds to the JSON property `outputLabel` @return [String]
output_multi[RW]
A list of class labels with their estimated probabilities (Categorical models only). Corresponds to the JSON property `outputMulti` @return [Array<Google::Apis::PredictionV1_6::Output::OutputMulti>]
output_value[RW]
The estimated regression value (Regression models only). Corresponds to the JSON property `outputValue` @return [String]
self_link[RW]
A URL to re-request this resource. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/prediction_v1_6/classes.rb, line 685 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 690 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @output_label = args[:output_label] if args.key?(:output_label) @output_multi = args[:output_multi] if args.key?(:output_multi) @output_value = args[:output_value] if args.key?(:output_value) @self_link = args[:self_link] if args.key?(:self_link) end