class Google::Apis::PredictionV1_6::Input::Input

Input to the model for a prediction.

Attributes

csv_instance[RW]

A list of input features, these can be strings or doubles. Corresponds to the JSON property `csvInstance` @return [Array<Object>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/prediction_v1_6/classes.rb, line 379
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 384
def update!(**args)
  @csv_instance = args[:csv_instance] if args.key?(:csv_instance)
end