Interface PrCurveOrBuilder (0.137.0)

public interface PrCurveOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpec()

public abstract 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
TypeDescription
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract 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;

Returns
TypeDescription
AnnotationSpecOrBuilder

getAreaUnderCurve()

public abstract 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
TypeDescription
float

The areaUnderCurve.

getConfidenceMetricsEntries(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrCurve.ConfidenceMetricsEntry

getConfidenceMetricsEntriesCount()

public abstract 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;

Returns
TypeDescription
int

getConfidenceMetricsEntriesList()

public abstract 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;

Returns
TypeDescription
List<ConfidenceMetricsEntry>

getConfidenceMetricsEntriesOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrCurve.ConfidenceMetricsEntryOrBuilder

getConfidenceMetricsEntriesOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntryOrBuilder>

getMeanAveragePrecision()

public abstract float getMeanAveragePrecision()

Mean average prcision of this curve.

float mean_average_precision = 4;

Returns
TypeDescription
float

The meanAveragePrecision.

hasAnnotationSpec()

public abstract 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
TypeDescription
boolean

Whether the annotationSpec field is set.