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

      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.