Class: Google::Cloud::AutoML::V1beta1::Float64Stats

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

Instance Attribute Details

#histogram_bucketsArray<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".

Returns:

  • (Array<Google::Cloud::AutoML::V1beta1::Float64Stats::HistogramBucket>)

    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

#meanFloat

Returns The mean of the series.

Returns:

  • (Float)

    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

#quantilesArray<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.

Returns:

  • (Array<Float>)

    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_deviationFloat

Returns The standard deviation of the series.

Returns:

  • (Float)

    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