Interface ClassificationMetricsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClassificationMetrics
,ClassificationMetrics.Builder
public interface ClassificationMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfusionMatrix
getConfusionMatrix()
Confusion matrix of predicted labels vs.ConfusionMatrixOrBuilder
getConfusionMatrixOrBuilder()
Confusion matrix of predicted labels vs.PrCurve
getPrCurve()
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.PrCurveOrBuilder
getPrCurveOrBuilder()
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.boolean
hasConfusionMatrix()
Confusion matrix of predicted labels vs.boolean
hasPrCurve()
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPrCurve
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:
- Whether the prCurve field is set.
-
getPrCurve
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:
- The prCurve.
-
getPrCurveOrBuilder
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;
-
hasConfusionMatrix
boolean hasConfusionMatrix()
Confusion matrix of predicted labels vs. ground truth labels.
.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;
- Returns:
- Whether the confusionMatrix field is set.
-
getConfusionMatrix
ConfusionMatrix getConfusionMatrix()
Confusion matrix of predicted labels vs. ground truth labels.
.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;
- Returns:
- The confusionMatrix.
-
getConfusionMatrixOrBuilder
ConfusionMatrixOrBuilder getConfusionMatrixOrBuilder()
Confusion matrix of predicted labels vs. ground truth labels.
.google.cloud.datalabeling.v1beta1.ConfusionMatrix confusion_matrix = 2;
-
-