Interface ClassificationMetricsOrBuilder (0.168.0)

public interface ClassificationMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfusionMatrix()

public abstract ConfusionMatrix getConfusionMatrix()

Confusion matrix of predicted labels vs. ground truth labels.

.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;

Returns
Type Description
ConfusionMatrix

The confusionMatrix.

getConfusionMatrixOrBuilder()

public abstract ConfusionMatrixOrBuilder getConfusionMatrixOrBuilder()

Confusion matrix of predicted labels vs. ground truth labels.

.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;

Returns
Type Description
ConfusionMatrixOrBuilder

getPrCurve()

public abstract PrCurve getPrCurve()

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

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
Type Description
PrCurve

The prCurve.

getPrCurveOrBuilder()

public abstract PrCurveOrBuilder getPrCurveOrBuilder()

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

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
Type Description
PrCurveOrBuilder

hasConfusionMatrix()

public abstract boolean hasConfusionMatrix()

Confusion matrix of predicted labels vs. ground truth labels.

.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;

Returns
Type Description
boolean

Whether the confusionMatrix field is set.

hasPrCurve()

public abstract boolean hasPrCurve()

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

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
Type Description
boolean

Whether the prCurve field is set.