Reference documentation and code samples for the Cloud AutoML V1beta1 Client class SingleCategoryStats.
The statistics of a single CATEGORY value.
Generated from protobuf message google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats
Namespace
Google \ Cloud \ AutoMl \ V1beta1 \ CategoryStatsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ value |
string
The CATEGORY value. |
↳ count |
int|string
The number of occurrences of this value in the series. |
getValue
The CATEGORY value.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
The CATEGORY value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCount
The number of occurrences of this value in the series.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setCount
The number of occurrences of this value in the series.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|