Class: Google::Cloud::AutoML::V1beta1::Float64Stats
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::Float64Stats
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb
Overview
The data statistics of a series of FLOAT64 values.
Defined Under Namespace
Classes: HistogramBucket
Instance Attribute Summary collapse
-
#histogram_buckets ⇒ Array<Google::Cloud::AutoML::V1beta1::Float64Stats::HistogramBucket>
Histogram buckets of the data series.
-
#mean ⇒ Float
The mean of the series.
-
#quantiles ⇒ Array<Float>
Ordered from 0 to k k-quantile values of the data series of n values.
-
#standard_deviation ⇒ Float
The standard deviation of the series.
Instance Attribute Details
#histogram_buckets ⇒ Array<Google::Cloud::AutoML::V1beta1::Float64Stats::HistogramBucket>
Returns Histogram buckets of the data series. Sorted by the min value of the
bucket, ascendingly, and the number of the buckets is dynamically
generated. The buckets are non-overlapping and completely cover whole
FLOAT64 range with min of first bucket being "-Infinity"
, and max of
the last one being "Infinity"
.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb', line 70 class Float64Stats # A bucket of a histogram. # @!attribute [rw] min # @return [Float] # The minimum value of the bucket, inclusive. # @!attribute [rw] max # @return [Float] # The maximum value of the bucket, exclusive unless max = `"Infinity"`, in # which case it's inclusive. # @!attribute [rw] count # @return [Integer] # The number of data values that are in the bucket, i.e. are between # min and max values. class HistogramBucket; end end |
#mean ⇒ Float
Returns The mean of the series.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb', line 70 class Float64Stats # A bucket of a histogram. # @!attribute [rw] min # @return [Float] # The minimum value of the bucket, inclusive. # @!attribute [rw] max # @return [Float] # The maximum value of the bucket, exclusive unless max = `"Infinity"`, in # which case it's inclusive. # @!attribute [rw] count # @return [Integer] # The number of data values that are in the bucket, i.e. are between # min and max values. class HistogramBucket; end end |
#quantiles ⇒ Array<Float>
Returns Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb', line 70 class Float64Stats # A bucket of a histogram. # @!attribute [rw] min # @return [Float] # The minimum value of the bucket, inclusive. # @!attribute [rw] max # @return [Float] # The maximum value of the bucket, exclusive unless max = `"Infinity"`, in # which case it's inclusive. # @!attribute [rw] count # @return [Integer] # The number of data values that are in the bucket, i.e. are between # min and max values. class HistogramBucket; end end |
#standard_deviation ⇒ Float
Returns The standard deviation of the series.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_stats.rb', line 70 class Float64Stats # A bucket of a histogram. # @!attribute [rw] min # @return [Float] # The minimum value of the bucket, inclusive. # @!attribute [rw] max # @return [Float] # The maximum value of the bucket, exclusive unless max = `"Infinity"`, in # which case it's inclusive. # @!attribute [rw] count # @return [Integer] # The number of data values that are in the bucket, i.e. are between # min and max values. class HistogramBucket; end end |