Google Cloud Datalabeling V1beta1 Client - Class ClassificationMetrics (0.1.14)

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

Metrics calculated for a classification model.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ pr_curve
Google\Cloud\DataLabeling\V1beta1\PrCurve

Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.

↳ confusion_matrix
Google\Cloud\DataLabeling\V1beta1\ConfusionMatrix

Confusion matrix of predicted labels vs. ground truth labels.

getPrCurve

Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.

Returns
Type
Description

hasPrCurve

clearPrCurve

setPrCurve

Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.

Parameter
Name
Description
Returns
Type
Description
$this

getConfusionMatrix

Confusion matrix of predicted labels vs. ground truth labels.

Returns
Type
Description

hasConfusionMatrix

clearConfusionMatrix

setConfusionMatrix

Confusion matrix of predicted labels vs. ground truth labels.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: