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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_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".

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



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'proto_docs/google/cloud/automl/v1beta1/data_stats.rb', line 77

class Float64Stats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#mean::Float

Returns The mean of the series.

Returns:

  • (::Float)

    The mean of the series.



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'proto_docs/google/cloud/automl/v1beta1/data_stats.rb', line 77

class Float64Stats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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.

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.



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'proto_docs/google/cloud/automl/v1beta1/data_stats.rb', line 77

class Float64Stats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#standard_deviation::Float

Returns The standard deviation of the series.

Returns:

  • (::Float)

    The standard deviation of the series.



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'proto_docs/google/cloud/automl/v1beta1/data_stats.rb', line 77

class Float64Stats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end