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
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ row |
array<ConfusionMatrix\Row>
|
getRow
Generated from protobuf field repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRow
Generated from protobuf field repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
var |
array<ConfusionMatrix\Row>
|
Returns | |
---|---|
Type | Description |
$this |