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
Namespace
Google \ Cloud \ AutoMl \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTopUnigramStats
The statistics of the top 20 unigrams, ordered by count.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\AutoMl\V1beta1\StringStats\UnigramStats>
|
Returns | |
---|---|
Type | Description |
$this |