Class: Google::Apis::PredictionV1_6::Analyze::DataDescription
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Analyze::DataDescription
- 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
Description of the data the model was trained on.
Defined Under Namespace
Classes: Feature, OutputFeature
Instance Attribute Summary collapse
-
#features ⇒ Array<Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature>
Description of the input features in the data set.
-
#output_feature ⇒ Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature
Description of the output value or label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataDescription
constructor
A new instance of DataDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DataDescription
Returns a new instance of DataDescription.
87 88 89 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#features ⇒ Array<Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature>
Description of the input features in the data set.
Corresponds to the JSON property features
80 81 82 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 80 def features @features end |
#output_feature ⇒ Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature
Description of the output value or label.
Corresponds to the JSON property outputFeature
85 86 87 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 85 def output_feature @output_feature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 95 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 92 def update!(**args) @features = args[:features] if args.key?(:features) @output_feature = args[:output_feature] if args.key?(:output_feature) end |