Cloud AutoML V1beta1 Client - Class CategoryStats (1.6.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setTopCategoryStats

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

Parameter
Name Description
var array<Google\Cloud\AutoMl\V1beta1\CategoryStats\SingleCategoryStats>
Returns
Type Description
$this