Cloud AutoML V1beta1 Client - Class DataStats (1.4.17)

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

The data statistics of a series of values that share the same DataType.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ float64_stats Google\Cloud\AutoMl\V1beta1\Float64Stats

The statistics for FLOAT64 DataType.

↳ string_stats Google\Cloud\AutoMl\V1beta1\StringStats

The statistics for STRING DataType.

↳ timestamp_stats Google\Cloud\AutoMl\V1beta1\TimestampStats

The statistics for TIMESTAMP DataType.

↳ array_stats Google\Cloud\AutoMl\V1beta1\ArrayStats

The statistics for ARRAY DataType.

↳ struct_stats Google\Cloud\AutoMl\V1beta1\StructStats

The statistics for STRUCT DataType.

↳ category_stats Google\Cloud\AutoMl\V1beta1\CategoryStats

The statistics for CATEGORY DataType.

↳ distinct_value_count int|string

The number of distinct values.

↳ null_value_count int|string

The number of values that are null.

↳ valid_value_count int|string

The number of values that are valid.

getFloat64Stats

The statistics for FLOAT64 DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\Float64Stats|null

hasFloat64Stats

setFloat64Stats

The statistics for FLOAT64 DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\Float64Stats
Returns
TypeDescription
$this

getStringStats

The statistics for STRING DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\StringStats|null

hasStringStats

setStringStats

The statistics for STRING DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\StringStats
Returns
TypeDescription
$this

getTimestampStats

The statistics for TIMESTAMP DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\TimestampStats|null

hasTimestampStats

setTimestampStats

The statistics for TIMESTAMP DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\TimestampStats
Returns
TypeDescription
$this

getArrayStats

The statistics for ARRAY DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\ArrayStats|null

hasArrayStats

setArrayStats

The statistics for ARRAY DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\ArrayStats
Returns
TypeDescription
$this

getStructStats

The statistics for STRUCT DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\StructStats|null

hasStructStats

setStructStats

The statistics for STRUCT DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\StructStats
Returns
TypeDescription
$this

getCategoryStats

The statistics for CATEGORY DataType.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\CategoryStats|null

hasCategoryStats

setCategoryStats

The statistics for CATEGORY DataType.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\CategoryStats
Returns
TypeDescription
$this

getDistinctValueCount

The number of distinct values.

Returns
TypeDescription
int|string

setDistinctValueCount

The number of distinct values.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNullValueCount

The number of values that are null.

Returns
TypeDescription
int|string

setNullValueCount

The number of values that are null.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getValidValueCount

The number of values that are valid.

Returns
TypeDescription
int|string

setValidValueCount

The number of values that are valid.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStats

Returns
TypeDescription
string