Cloud AutoML V1beta1 Client - Class ImageObjectDetectionEvaluationMetrics (1.5.4)

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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\BoundingBoxMetricsEntry>
Returns
TypeDescription
$this

getBoundingBoxMeanAveragePrecision

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

Returns
TypeDescription
float

setBoundingBoxMeanAveragePrecision

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

Parameter
NameDescription
var float
Returns
TypeDescription
$this