Google Cloud Datalabeling V1beta1 Client - Class ConfusionMatrix (0.2.0)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ConfusionMatrix.

Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.

Generated from protobuf message google.cloud.datalabeling.v1beta1.ConfusionMatrix

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ row array<Google\Cloud\DataLabeling\V1beta1\ConfusionMatrix\Row>

getRow

Generated from protobuf field repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRow

Generated from protobuf field repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;

Parameter
NameDescription
var array<Google\Cloud\DataLabeling\V1beta1\ConfusionMatrix\Row>
Returns
TypeDescription
$this