Cloud AutoML V1beta1 Client - Class StringStats (1.4.17)

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

The data statistics of a series of STRING values.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ top_unigram_stats array<Google\Cloud\AutoMl\V1beta1\StringStats\UnigramStats>

The statistics of the top 20 unigrams, ordered by count.

getTopUnigramStats

The statistics of the top 20 unigrams, ordered by count.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTopUnigramStats

The statistics of the top 20 unigrams, ordered by count.

Parameter
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\StringStats\UnigramStats>
Returns
TypeDescription
$this