Cloud AutoML V1beta1 Client - Class Float64Stats (1.6.5)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class Float64Stats.

The data statistics of a series of FLOAT64 values.

Generated from protobuf message google.cloud.automl.v1beta1.Float64Stats

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mean float

The mean of the series.

↳ standard_deviation float

The standard deviation of the series.

↳ quantiles array

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.

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

getMean

The mean of the series.

Returns
Type Description
float

setMean

The mean of the series.

Parameter
Name Description
var float
Returns
Type Description
$this

getStandardDeviation

The standard deviation of the series.

Returns
Type Description
float

setStandardDeviation

The standard deviation of the series.

Parameter
Name Description
var float
Returns
Type Description
$this

getQuantiles

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
Type Description
Google\Protobuf\Internal\RepeatedField

setQuantiles

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.

Parameter
Name Description
var float[]
Returns
Type Description
$this

getHistogramBuckets

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
Type Description
Google\Protobuf\Internal\RepeatedField

setHistogramBuckets

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

Parameter
Name Description
var array<Google\Cloud\AutoMl\V1beta1\Float64Stats\HistogramBucket>
Returns
Type Description
$this