Interface PrCurveOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PrCurve,PrCurve.Builder
@Generated
public interface PrCurveOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe annotation spec of the label for which the precision-recall curve calculated.The annotation spec of the label for which the precision-recall curve calculated.floatArea under the precision-recall curve.getConfidenceMetricsEntries(int index) Entries that make up the precision-recall graph.intEntries that make up the precision-recall graph.Entries that make up the precision-recall graph.getConfidenceMetricsEntriesOrBuilder(int index) Entries that make up the precision-recall graph.List<? extends PrCurve.ConfidenceMetricsEntryOrBuilder>Entries that make up the precision-recall graph.floatMean average prcision of this curve.booleanThe annotation spec of the label for which the precision-recall curve calculated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAnnotationSpec
boolean hasAnnotationSpec()The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Returns:
- Whether the annotationSpec field is set.
-
getAnnotationSpec
AnnotationSpec getAnnotationSpec()The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Returns:
- The annotationSpec.
-
getAnnotationSpecOrBuilder
AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
getAreaUnderCurve
float getAreaUnderCurve()Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve.
float area_under_curve = 2;- Returns:
- The areaUnderCurve.
-
getConfidenceMetricsEntriesList
List<PrCurve.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.
repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3; -
getConfidenceMetricsEntries
Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.
repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3; -
getConfidenceMetricsEntriesCount
int getConfidenceMetricsEntriesCount()Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.
repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3; -
getConfidenceMetricsEntriesOrBuilderList
List<? extends PrCurve.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntriesOrBuilderList()Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.
repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3; -
getConfidenceMetricsEntriesOrBuilder
Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.
repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3; -
getMeanAveragePrecision
float getMeanAveragePrecision()Mean average prcision of this curve.
float mean_average_precision = 4;- Returns:
- The meanAveragePrecision.
-