public static final class BoundingBoxMetricsEntry.Builder extends GeneratedMessage.Builder<BoundingBoxMetricsEntry.Builder> implements BoundingBoxMetricsEntryOrBuilderBounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.
Protobuf type google.cloud.automl.v1beta1.BoundingBoxMetricsEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BoundingBoxMetricsEntry.BuilderImplements
BoundingBoxMetricsEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllConfidenceMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntry> values)
public BoundingBoxMetricsEntry.Builder addAllConfidenceMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntry> values)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry> |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)
public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)
public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)
public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)
public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addConfidenceMetricsEntriesBuilder()
public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
|
addConfidenceMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder(int index)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
|
build()
public BoundingBoxMetricsEntry build()| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry |
|
buildPartial()
public BoundingBoxMetricsEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry |
|
clear()
public BoundingBoxMetricsEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
clearConfidenceMetricsEntries()
public BoundingBoxMetricsEntry.Builder clearConfidenceMetricsEntries()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
clearIouThreshold()
public BoundingBoxMetricsEntry.Builder clearIouThreshold()Output only. The intersection-over-union threshold value used to compute this metrics entry.
float iou_threshold = 1;
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
This builder for chaining. |
clearMeanAveragePrecision()
public BoundingBoxMetricsEntry.Builder clearMeanAveragePrecision()Output only. The mean average precision, most often close to au_prc.
float mean_average_precision = 2;
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
This builder for chaining. |
getConfidenceMetricsEntries(int index)
public BoundingBoxMetricsEntry.ConfidenceMetricsEntry getConfidenceMetricsEntries(int index)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
|
getConfidenceMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder getConfidenceMetricsEntriesBuilder(int index)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
|
getConfidenceMetricsEntriesBuilderList()
public List<BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder> getConfidenceMetricsEntriesBuilderList()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getConfidenceMetricsEntriesCount()
public int getConfidenceMetricsEntriesCount()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getConfidenceMetricsEntriesList()
public List<BoundingBoxMetricsEntry.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
List<ConfidenceMetricsEntry> |
|
getConfidenceMetricsEntriesOrBuilder(int index)
public BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntriesOrBuilder(int index)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder |
|
getConfidenceMetricsEntriesOrBuilderList()
public List<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntriesOrBuilderList()Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder> |
|
getDefaultInstanceForType()
public BoundingBoxMetricsEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIouThreshold()
public float getIouThreshold()Output only. The intersection-over-union threshold value used to compute this metrics entry.
float iou_threshold = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The iouThreshold. |
getMeanAveragePrecision()
public float getMeanAveragePrecision()Output only. The mean average precision, most often close to au_prc.
float mean_average_precision = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The meanAveragePrecision. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BoundingBoxMetricsEntry other)
public BoundingBoxMetricsEntry.Builder mergeFrom(BoundingBoxMetricsEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
BoundingBoxMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BoundingBoxMetricsEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BoundingBoxMetricsEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
removeConfidenceMetricsEntries(int index)
public BoundingBoxMetricsEntry.Builder removeConfidenceMetricsEntries(int index)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)
public BoundingBoxMetricsEntry.Builder setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)
public BoundingBoxMetricsEntry.Builder setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
setIouThreshold(float value)
public BoundingBoxMetricsEntry.Builder setIouThreshold(float value)Output only. The intersection-over-union threshold value used to compute this metrics entry.
float iou_threshold = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe iouThreshold to set. |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
This builder for chaining. |
setMeanAveragePrecision(float value)
public BoundingBoxMetricsEntry.Builder setMeanAveragePrecision(float value)Output only. The mean average precision, most often close to au_prc.
float mean_average_precision = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe meanAveragePrecision to set. |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
This builder for chaining. |