Cloud AutoML V1beta1 Client - Class HistogramBucket (1.6.5)

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

A bucket of a histogram.

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

Namespace

Google \ Cloud \ AutoMl \ V1beta1 \ Float64Stats

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ min
float

The minimum value of the bucket, inclusive.

↳ max
float

The maximum value of the bucket, exclusive unless max = "Infinity" , in which case it's inclusive.

↳ count
int|string

The number of data values that are in the bucket, i.e. are between min and max values.

getMin

The minimum value of the bucket, inclusive.

Returns
Type
Description
float

setMin

The minimum value of the bucket, inclusive.

Parameter
Name
Description
var
float
Returns
Type
Description
$this

getMax

The maximum value of the bucket, exclusive unless max = "Infinity" , in which case it's inclusive.

Returns
Type
Description
float

setMax

The maximum value of the bucket, exclusive unless max = "Infinity" , in which case it's inclusive.

Parameter
Name
Description
var
float
Returns
Type
Description
$this

getCount

The number of data values that are in the bucket, i.e. are between min and max values.

Returns
Type
Description
int|string

setCount

The number of data values that are in the bucket, i.e. are between min and max values.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: