Cloud AutoML V1beta1 Client - Class Float64Stats (1.5.4)

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
NameDescription
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
TypeDescription
float

setMean

The mean of the series.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStandardDeviation

The standard deviation of the series.

Returns
TypeDescription
float

setStandardDeviation

The standard deviation of the series.

Parameter
NameDescription
var float
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var float[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\Float64Stats\HistogramBucket>
Returns
TypeDescription
$this