Cloud AutoML V1beta1 Client - Class Row (1.4.17)

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

Output only. A row in the confusion matrix.

Generated from protobuf message google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ example_count array

Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

getExampleCount

Output only. Value of the specific cell in the confusion matrix.

The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExampleCount

Output only. Value of the specific cell in the confusion matrix.

The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id field or, if that one is not populated, length of the display_name field.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this