- 0.175.0 (latest)
- 0.174.0
- 0.173.0
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class PrCurve.ConfidenceMetricsEntry.Builder extends GeneratedMessageV3.Builder<PrCurve.ConfidenceMetricsEntry.Builder> implements PrCurve.ConfidenceMetricsEntryOrBuilder
Protobuf type google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrCurve.ConfidenceMetricsEntry.BuilderImplements
PrCurve.ConfidenceMetricsEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrCurve.ConfidenceMetricsEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
build()
public PrCurve.ConfidenceMetricsEntry build()
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry |
buildPartial()
public PrCurve.ConfidenceMetricsEntry buildPartial()
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry |
clear()
public PrCurve.ConfidenceMetricsEntry.Builder clear()
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
clearConfidenceThreshold()
public PrCurve.ConfidenceMetricsEntry.Builder clearConfidenceThreshold()
Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the intersection-over-union (IOU) threshold for the context of this point on the PR curve.
float confidence_threshold = 1;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearF1Score()
public PrCurve.ConfidenceMetricsEntry.Builder clearF1Score()
Harmonic mean of recall and precision.
float f1_score = 4;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearF1ScoreAt1()
public PrCurve.ConfidenceMetricsEntry.Builder clearF1ScoreAt1()
The harmonic mean of recall_at1 and precision_at1.
float f1_score_at1 = 7;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearF1ScoreAt5()
public PrCurve.ConfidenceMetricsEntry.Builder clearF1ScoreAt5()
The harmonic mean of recall_at5 and precision_at5.
float f1_score_at5 = 10;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PrCurve.ConfidenceMetricsEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrCurve.ConfidenceMetricsEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
clearPrecision()
public PrCurve.ConfidenceMetricsEntry.Builder clearPrecision()
Precision value.
float precision = 3;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearPrecisionAt1()
public PrCurve.ConfidenceMetricsEntry.Builder clearPrecisionAt1()
Precision value for entries with label that has highest score.
float precision_at1 = 6;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearPrecisionAt5()
public PrCurve.ConfidenceMetricsEntry.Builder clearPrecisionAt5()
Precision value for entries with label that has highest 5 scores.
float precision_at5 = 9;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearRecall()
public PrCurve.ConfidenceMetricsEntry.Builder clearRecall()
Recall value.
float recall = 2;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearRecallAt1()
public PrCurve.ConfidenceMetricsEntry.Builder clearRecallAt1()
Recall value for entries with label that has highest score.
float recall_at1 = 5;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearRecallAt5()
public PrCurve.ConfidenceMetricsEntry.Builder clearRecallAt5()
Recall value for entries with label that has highest 5 scores.
float recall_at5 = 8;
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clone()
public PrCurve.ConfidenceMetricsEntry.Builder clone()
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
getConfidenceThreshold()
public float getConfidenceThreshold()
Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the intersection-over-union (IOU) threshold for the context of this point on the PR curve.
float confidence_threshold = 1;
Returns | |
---|---|
Type | Description |
float | The confidenceThreshold. |
getDefaultInstanceForType()
public PrCurve.ConfidenceMetricsEntry getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getF1Score()
public float getF1Score()
Harmonic mean of recall and precision.
float f1_score = 4;
Returns | |
---|---|
Type | Description |
float | The f1Score. |
getF1ScoreAt1()
public float getF1ScoreAt1()
The harmonic mean of recall_at1 and precision_at1.
float f1_score_at1 = 7;
Returns | |
---|---|
Type | Description |
float | The f1ScoreAt1. |
getF1ScoreAt5()
public float getF1ScoreAt5()
The harmonic mean of recall_at5 and precision_at5.
float f1_score_at5 = 10;
Returns | |
---|---|
Type | Description |
float | The f1ScoreAt5. |
getPrecision()
public float getPrecision()
Precision value.
float precision = 3;
Returns | |
---|---|
Type | Description |
float | The precision. |
getPrecisionAt1()
public float getPrecisionAt1()
Precision value for entries with label that has highest score.
float precision_at1 = 6;
Returns | |
---|---|
Type | Description |
float | The precisionAt1. |
getPrecisionAt5()
public float getPrecisionAt5()
Precision value for entries with label that has highest 5 scores.
float precision_at5 = 9;
Returns | |
---|---|
Type | Description |
float | The precisionAt5. |
getRecall()
public float getRecall()
Recall value.
float recall = 2;
Returns | |
---|---|
Type | Description |
float | The recall. |
getRecallAt1()
public float getRecallAt1()
Recall value for entries with label that has highest score.
float recall_at1 = 5;
Returns | |
---|---|
Type | Description |
float | The recallAt1. |
getRecallAt5()
public float getRecallAt5()
Recall value for entries with label that has highest 5 scores.
float recall_at5 = 8;
Returns | |
---|---|
Type | Description |
float | The recallAt5. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PrCurve.ConfidenceMetricsEntry other)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(PrCurve.ConfidenceMetricsEntry other)
Parameter | |
---|---|
Name | Description |
other | PrCurve.ConfidenceMetricsEntry |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.ConfidenceMetricsEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
setConfidenceThreshold(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setConfidenceThreshold(float value)
Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the intersection-over-union (IOU) threshold for the context of this point on the PR curve.
float confidence_threshold = 1;
Parameter | |
---|---|
Name | Description |
value | float The confidenceThreshold to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setF1Score(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setF1Score(float value)
Harmonic mean of recall and precision.
float f1_score = 4;
Parameter | |
---|---|
Name | Description |
value | float The f1Score to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setF1ScoreAt1(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setF1ScoreAt1(float value)
The harmonic mean of recall_at1 and precision_at1.
float f1_score_at1 = 7;
Parameter | |
---|---|
Name | Description |
value | float The f1ScoreAt1 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setF1ScoreAt5(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setF1ScoreAt5(float value)
The harmonic mean of recall_at5 and precision_at5.
float f1_score_at5 = 10;
Parameter | |
---|---|
Name | Description |
value | float The f1ScoreAt5 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PrCurve.ConfidenceMetricsEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
setPrecision(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setPrecision(float value)
Precision value.
float precision = 3;
Parameter | |
---|---|
Name | Description |
value | float The precision to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setPrecisionAt1(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setPrecisionAt1(float value)
Precision value for entries with label that has highest score.
float precision_at1 = 6;
Parameter | |
---|---|
Name | Description |
value | float The precisionAt1 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setPrecisionAt5(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setPrecisionAt5(float value)
Precision value for entries with label that has highest 5 scores.
float precision_at5 = 9;
Parameter | |
---|---|
Name | Description |
value | float The precisionAt5 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setRecall(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setRecall(float value)
Recall value.
float recall = 2;
Parameter | |
---|---|
Name | Description |
value | float The recall to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setRecallAt1(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setRecallAt1(float value)
Recall value for entries with label that has highest score.
float recall_at1 = 5;
Parameter | |
---|---|
Name | Description |
value | float The recallAt1 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setRecallAt5(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setRecallAt5(float value)
Recall value for entries with label that has highest 5 scores.
float recall_at5 = 8;
Parameter | |
---|---|
Name | Description |
value | float The recallAt5 to set. |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrCurve.ConfidenceMetricsEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.ConfidenceMetricsEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |