Cloud AutoML V1beta1 Client - Class ImageObjectDetectionEvaluationMetrics (1.6.5)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class ImageObjectDetectionEvaluationMetrics.

Model evaluation metrics for image object detection problems.

Evaluates prediction quality of labeled bounding boxes.

Generated from protobuf message google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ evaluated_bounding_box_count int

Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.

↳ bounding_box_metrics_entries array<Google\Cloud\AutoMl\V1beta1\BoundingBoxMetricsEntry>

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

↳ bounding_box_mean_average_precision float

Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.

getEvaluatedBoundingBoxCount

Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.

Returns
Type Description
int

setEvaluatedBoundingBoxCount

Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.

Parameter
Name Description
var int
Returns
Type Description
$this

getBoundingBoxMetricsEntries

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBoundingBoxMetricsEntries

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

Parameter
Name Description
var array<Google\Cloud\AutoMl\V1beta1\BoundingBoxMetricsEntry>
Returns
Type Description
$this

getBoundingBoxMeanAveragePrecision

Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.

Returns
Type Description
float

setBoundingBoxMeanAveragePrecision

Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.

Parameter
Name Description
var float
Returns
Type Description
$this