Google Cloud Datalabeling V1beta1 Client - Class EvaluationMetrics (0.5.4)

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

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\DataLabeling\V1beta1\ClassificationMetrics|null

hasClassificationMetrics

setClassificationMetrics

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

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\ClassificationMetrics
Returns
Type Description
$this

getObjectDetectionMetrics

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

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\ObjectDetectionMetrics|null

hasObjectDetectionMetrics

setObjectDetectionMetrics

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

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\ObjectDetectionMetrics
Returns
Type Description
$this

getMetrics

Returns
Type Description
string