Cloud AutoML V1beta1 Client - Class CategoryStats (1.5.4)

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

Namespace

Google \ Cloud \ AutoMl \ V1beta1

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