Class: Google::Apis::PredictionV1_6::Input::Input
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Input::Input
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_6/classes.rb,
generated/google/apis/prediction_v1_6/representations.rb,
generated/google/apis/prediction_v1_6/representations.rb
Overview
Input to the model for a prediction.
Instance Attribute Summary collapse
-
#csv_instance ⇒ Array<Object>
A list of input features, these can be strings or doubles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Input
constructor
A new instance of Input.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Input
Returns a new instance of Input
379 380 381 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv_instance ⇒ Array<Object>
A list of input features, these can be strings or doubles.
Corresponds to the JSON property csvInstance
377 378 379 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 377 def csv_instance @csv_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 |
# 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 |