Cloud AutoML V1beta1 Client - Class CategoryStats (1.4.17)

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

The data statistics of a series of CATEGORY values.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ top_category_stats array<Google\Cloud\AutoMl\V1beta1\CategoryStats\SingleCategoryStats>

The statistics of the top 20 CATEGORY values, ordered by count.

getTopCategoryStats

The statistics of the top 20 CATEGORY values, ordered by count.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTopCategoryStats

The statistics of the top 20 CATEGORY values, ordered by count.

Parameter
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\CategoryStats\SingleCategoryStats>
Returns
TypeDescription
$this