Cloud AutoML V1beta1 Client - Class ConfidenceMetricsEntry (1.6.5)

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

Metrics for a single confidence threshold.

Generated from protobuf message google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry

Namespace

Google \ Cloud \ AutoMl \ V1beta1 \ BoundingBoxMetricsEntry

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ confidence_threshold float

Output only. The confidence threshold value used to compute the metrics.

↳ recall float

Output only. Recall under the given confidence threshold.

↳ precision float

Output only. Precision under the given confidence threshold.

↳ f1_score float

Output only. The harmonic mean of recall and precision.

getConfidenceThreshold

Output only. The confidence threshold value used to compute the metrics.

Returns
Type Description
float

setConfidenceThreshold

Output only. The confidence threshold value used to compute the metrics.

Parameter
Name Description
var float
Returns
Type Description
$this

getRecall

Output only. Recall under the given confidence threshold.

Returns
Type Description
float

setRecall

Output only. Recall under the given confidence threshold.

Parameter
Name Description
var float
Returns
Type Description
$this

getPrecision

Output only. Precision under the given confidence threshold.

Returns
Type Description
float

setPrecision

Output only. Precision under the given confidence threshold.

Parameter
Name Description
var float
Returns
Type Description
$this

getF1Score

Output only. The harmonic mean of recall and precision.

Returns
Type Description
float

setF1Score

Output only. The harmonic mean of recall and precision.

Parameter
Name Description
var float
Returns
Type Description
$this