public final class BoundingBoxMetricsEntry extends GeneratedMessageV3 implements BoundingBoxMetricsEntryOrBuilder
Bounding box matching model metrics for a single intersection-over-union
threshold and multiple label match confidence thresholds.
Protobuf type google.cloud.automl.v1.BoundingBoxMetricsEntry
Static Fields
CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER
public static final int CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER
Field Value
IOU_THRESHOLD_FIELD_NUMBER
public static final int IOU_THRESHOLD_FIELD_NUMBER
Field Value
MEAN_AVERAGE_PRECISION_FIELD_NUMBER
public static final int MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BoundingBoxMetricsEntry getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BoundingBoxMetricsEntry.Builder newBuilder()
Returns
newBuilder(BoundingBoxMetricsEntry prototype)
public static BoundingBoxMetricsEntry.Builder newBuilder(BoundingBoxMetricsEntry prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static BoundingBoxMetricsEntry parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BoundingBoxMetricsEntry parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BoundingBoxMetricsEntry parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static BoundingBoxMetricsEntry parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static BoundingBoxMetricsEntry parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BoundingBoxMetricsEntry parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxMetricsEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BoundingBoxMetricsEntry> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
Parameter
Returns
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.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
Returns
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.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
Returns
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.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
Parameter
Returns
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.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder> | |
getDefaultInstanceForType()
public BoundingBoxMetricsEntry getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<BoundingBoxMetricsEntry> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BoundingBoxMetricsEntry.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BoundingBoxMetricsEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BoundingBoxMetricsEntry.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions