Class: Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature::Numeric
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature::Numeric
- 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 output values in the data set.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Number of numeric output values in the data set.
-
#mean ⇒ String
Mean of the output values in the data set.
-
#variance ⇒ String
Variance of the output values in the data set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Numeric
constructor
A new instance of Numeric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Numeric
Returns a new instance of Numeric
277 278 279 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Number of numeric output values in the data set.
Corresponds to the JSON property count
265 266 267 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 265 def count @count end |
#mean ⇒ String
Mean of the output values in the data set.
Corresponds to the JSON property mean
270 271 272 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 270 def mean @mean end |
#variance ⇒ String
Variance of the output values in the data set.
Corresponds to the JSON property variance
275 276 277 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 275 def variance @variance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
282 283 284 285 286 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 282 def update!(**args) @count = args[:count] if args.key?(:count) @mean = args[:mean] if args.key?(:mean) @variance = args[:variance] if args.key?(:variance) end |