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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\Float64Stats|null |
hasFloat64Stats
setFloat64Stats
The statistics for FLOAT64 DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\Float64Stats
|
Returns | |
---|---|
Type | Description |
$this |
getStringStats
The statistics for STRING DataType.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\StringStats|null |
hasStringStats
setStringStats
The statistics for STRING DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\StringStats
|
Returns | |
---|---|
Type | Description |
$this |
getTimestampStats
The statistics for TIMESTAMP DataType.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\TimestampStats|null |
hasTimestampStats
setTimestampStats
The statistics for TIMESTAMP DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\TimestampStats
|
Returns | |
---|---|
Type | Description |
$this |
getArrayStats
The statistics for ARRAY DataType.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\ArrayStats|null |
hasArrayStats
setArrayStats
The statistics for ARRAY DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\ArrayStats
|
Returns | |
---|---|
Type | Description |
$this |
getStructStats
The statistics for STRUCT DataType.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\StructStats|null |
hasStructStats
setStructStats
The statistics for STRUCT DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\StructStats
|
Returns | |
---|---|
Type | Description |
$this |
getCategoryStats
The statistics for CATEGORY DataType.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\CategoryStats|null |
hasCategoryStats
setCategoryStats
The statistics for CATEGORY DataType.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\CategoryStats
|
Returns | |
---|---|
Type | Description |
$this |
getDistinctValueCount
The number of distinct values.
Returns | |
---|---|
Type | Description |
int|string |
setDistinctValueCount
The number of distinct values.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getNullValueCount
The number of values that are null.
Returns | |
---|---|
Type | Description |
int|string |
setNullValueCount
The number of values that are null.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getValidValueCount
The number of values that are valid.
Returns | |
---|---|
Type | Description |
int|string |
setValidValueCount
The number of values that are valid.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getStats
Returns | |
---|---|
Type | Description |
string |