Interface ClassificationMetricsOrBuilder (0.123.3)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PrCurveOrBuilder

hasConfusionMatrix()

public abstract boolean hasConfusionMatrix()

Confusion matrix of predicted labels vs. ground truth labels.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the prCurve field is set.