Interface PrCurveOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PrCurve,PrCurve.Builder
public interface PrCurveOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationSpecgetAnnotationSpec()The annotation spec of the label for which the precision-recall curve calculated.AnnotationSpecOrBuildergetAnnotationSpecOrBuilder()The annotation spec of the label for which the precision-recall curve calculated.floatgetAreaUnderCurve()Area under the precision-recall curve.PrCurve.ConfidenceMetricsEntrygetConfidenceMetricsEntries(int index)Entries that make up the precision-recall graph.intgetConfidenceMetricsEntriesCount()Entries that make up the precision-recall graph.List<PrCurve.ConfidenceMetricsEntry>getConfidenceMetricsEntriesList()Entries that make up the precision-recall graph.PrCurve.ConfidenceMetricsEntryOrBuildergetConfidenceMetricsEntriesOrBuilder(int index)Entries that make up the precision-recall graph.List<? extends PrCurve.ConfidenceMetricsEntryOrBuilder>getConfidenceMetricsEntriesOrBuilderList()Entries that make up the precision-recall graph.floatgetMeanAveragePrecision()Mean average prcision of this curve.booleanhasAnnotationSpec()The annotation spec of the label for which the precision-recall curve calculated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
PrCurve.ConfidenceMetricsEntry getConfidenceMetricsEntries(int index)
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
PrCurve.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntriesOrBuilder(int index)
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.
-
-