Cloud AutoML V1 Client - Class Row (2.0.1)

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

Output only. A row in the confusion matrix.

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

Namespace

Google \ Cloud \ AutoMl \ V1 \ ClassificationEvaluationMetrics \ ConfusionMatrix

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var int[]
Returns
Type Description
$this