Class: Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature::Numeric

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#countFixnum

Number of numeric output values in the data set. Corresponds to the JSON property count

Returns:

  • (Fixnum)


265
266
267
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 265

def count
  @count
end

#meanString

Mean of the output values in the data set. Corresponds to the JSON property mean

Returns:

  • (String)


270
271
272
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 270

def mean
  @mean
end

#varianceString

Variance of the output values in the data set. Corresponds to the JSON property variance

Returns:

  • (String)


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