public static final class PrCurve.Builder extends GeneratedMessageV3.Builder<PrCurve.Builder> implements PrCurveOrBuilder
Protobuf type google.cloud.datalabeling.v1beta1.PrCurve
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConfidenceMetricsEntries(Iterable<? extends PrCurve.ConfidenceMetricsEntry> values)
public PrCurve.Builder addAllConfidenceMetricsEntries(Iterable<? extends PrCurve.ConfidenceMetricsEntry> values)
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry>
|
addConfidenceMetricsEntries(PrCurve.ConfidenceMetricsEntry value)
public PrCurve.Builder addConfidenceMetricsEntries(PrCurve.ConfidenceMetricsEntry value)
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;
addConfidenceMetricsEntries(PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
public PrCurve.Builder addConfidenceMetricsEntries(PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
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;
addConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry value)
public PrCurve.Builder addConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry value)
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;
addConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
public PrCurve.Builder addConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
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;
addConfidenceMetricsEntriesBuilder()
public PrCurve.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder()
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;
addConfidenceMetricsEntriesBuilder(int index)
public PrCurve.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder(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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrCurve.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public PrCurve buildPartial()
clear()
public PrCurve.Builder clear()
Overrides
clearAnnotationSpec()
public PrCurve.Builder clearAnnotationSpec()
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;
clearAreaUnderCurve()
public PrCurve.Builder clearAreaUnderCurve()
Area under the precision-recall curve. Not to be confused with area under
a receiver operating characteristic (ROC) curve.
float area_under_curve = 2;
clearConfidenceMetricsEntries()
public PrCurve.Builder clearConfidenceMetricsEntries()
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;
clearField(Descriptors.FieldDescriptor field)
public PrCurve.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMeanAveragePrecision()
public PrCurve.Builder clearMeanAveragePrecision()
Mean average prcision of this curve.
float mean_average_precision = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public PrCurve.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PrCurve.Builder clone()
Overrides
getAnnotationSpec()
public 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;
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()
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;
getAnnotationSpecOrBuilder()
public 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()
public 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 |
Type |
Description |
float |
The areaUnderCurve.
|
getConfidenceMetricsEntries(int index)
public 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 |
Name |
Description |
index |
int
|
getConfidenceMetricsEntriesBuilder(int index)
public PrCurve.ConfidenceMetricsEntry.Builder getConfidenceMetricsEntriesBuilder(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 |
Name |
Description |
index |
int
|
getConfidenceMetricsEntriesBuilderList()
public List<PrCurve.ConfidenceMetricsEntry.Builder> getConfidenceMetricsEntriesBuilderList()
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()
public 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 |
Type |
Description |
int |
|
getConfidenceMetricsEntriesList()
public 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;
getConfidenceMetricsEntriesOrBuilder(int index)
public 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 |
Name |
Description |
index |
int
|
getConfidenceMetricsEntriesOrBuilderList()
public 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 |
Type |
Description |
List<? extends com.google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntryOrBuilder> |
|
getDefaultInstanceForType()
public PrCurve getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMeanAveragePrecision()
public float getMeanAveragePrecision()
Mean average prcision of this curve.
float mean_average_precision = 4;
Returns |
Type |
Description |
float |
The meanAveragePrecision.
|
hasAnnotationSpec()
public 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 |
Type |
Description |
boolean |
Whether the annotationSpec field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotationSpec(AnnotationSpec value)
public PrCurve.Builder mergeAnnotationSpec(AnnotationSpec value)
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;
mergeFrom(PrCurve other)
public PrCurve.Builder mergeFrom(PrCurve other)
Parameter |
Name |
Description |
other |
PrCurve
|
public PrCurve.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrCurve.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConfidenceMetricsEntries(int index)
public PrCurve.Builder removeConfidenceMetricsEntries(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 |
Name |
Description |
index |
int
|
setAnnotationSpec(AnnotationSpec value)
public PrCurve.Builder setAnnotationSpec(AnnotationSpec value)
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;
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public PrCurve.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
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;
setAreaUnderCurve(float value)
public PrCurve.Builder setAreaUnderCurve(float value)
Area under the precision-recall curve. Not to be confused with area under
a receiver operating characteristic (ROC) curve.
float area_under_curve = 2;
Parameter |
Name |
Description |
value |
float
The areaUnderCurve to set.
|
setConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry value)
public PrCurve.Builder setConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry value)
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;
setConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
public PrCurve.Builder setConfidenceMetricsEntries(int index, PrCurve.ConfidenceMetricsEntry.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PrCurve.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMeanAveragePrecision(float value)
public PrCurve.Builder setMeanAveragePrecision(float value)
Mean average prcision of this curve.
float mean_average_precision = 4;
Parameter |
Name |
Description |
value |
float
The meanAveragePrecision to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrCurve.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides