Google Cloud Datalabeling V1beta1 Client - Class EvaluationMetrics (0.1.14)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ classification_metrics Google\Cloud\DataLabeling\V1beta1\ClassificationMetrics
↳ object_detection_metrics Google\Cloud\DataLabeling\V1beta1\ObjectDetectionMetrics

getClassificationMetrics

Generated from protobuf field .google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\ClassificationMetrics|null

hasClassificationMetrics

setClassificationMetrics

Generated from protobuf field .google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\ClassificationMetrics
Returns
TypeDescription
$this

getObjectDetectionMetrics

Generated from protobuf field .google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\ObjectDetectionMetrics|null

hasObjectDetectionMetrics

setObjectDetectionMetrics

Generated from protobuf field .google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\ObjectDetectionMetrics
Returns
TypeDescription
$this

getMetrics

Returns
TypeDescription
string