- 0.174.0 (latest)
- 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrCurve.ConfidenceMetricsEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
build()
public PrCurve.ConfidenceMetricsEntry build()
Type | Description |
PrCurve.ConfidenceMetricsEntry |
buildPartial()
public PrCurve.ConfidenceMetricsEntry buildPartial()
Type | Description |
PrCurve.ConfidenceMetricsEntry |
clear()
public PrCurve.ConfidenceMetricsEntry.Builder clear()
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;
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;
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;
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;
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PrCurve.ConfidenceMetricsEntry.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrCurve.ConfidenceMetricsEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
clearPrecision()
public PrCurve.ConfidenceMetricsEntry.Builder clearPrecision()
Precision value.
float precision = 3;
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;
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;
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clearRecall()
public PrCurve.ConfidenceMetricsEntry.Builder clearRecall()
Recall value.
float recall = 2;
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;
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;
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
clone()
public PrCurve.ConfidenceMetricsEntry.Builder clone()
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;
Type | Description |
float | The confidenceThreshold. |
getDefaultInstanceForType()
public PrCurve.ConfidenceMetricsEntry getDefaultInstanceForType()
Type | Description |
PrCurve.ConfidenceMetricsEntry |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getF1Score()
public float getF1Score()
Harmonic mean of recall and precision.
float f1_score = 4;
Type | Description |
float | The f1Score. |
getF1ScoreAt1()
public float getF1ScoreAt1()
The harmonic mean of recall_at1 and precision_at1.
float f1_score_at1 = 7;
Type | Description |
float | The f1ScoreAt1. |
getF1ScoreAt5()
public float getF1ScoreAt5()
The harmonic mean of recall_at5 and precision_at5.
float f1_score_at5 = 10;
Type | Description |
float | The f1ScoreAt5. |
getPrecision()
public float getPrecision()
Precision value.
float precision = 3;
Type | Description |
float | The precision. |
getPrecisionAt1()
public float getPrecisionAt1()
Precision value for entries with label that has highest score.
float precision_at1 = 6;
Type | Description |
float | The precisionAt1. |
getPrecisionAt5()
public float getPrecisionAt5()
Precision value for entries with label that has highest 5 scores.
float precision_at5 = 9;
Type | Description |
float | The precisionAt5. |
getRecall()
public float getRecall()
Recall value.
float recall = 2;
Type | Description |
float | The recall. |
getRecallAt1()
public float getRecallAt1()
Recall value for entries with label that has highest score.
float recall_at1 = 5;
Type | Description |
float | The recallAt1. |
getRecallAt5()
public float getRecallAt5()
Recall value for entries with label that has highest 5 scores.
float recall_at5 = 8;
Type | Description |
float | The recallAt5. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PrCurve.ConfidenceMetricsEntry other)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(PrCurve.ConfidenceMetricsEntry other)
Name | Description |
other | PrCurve.ConfidenceMetricsEntry |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PrCurve.ConfidenceMetricsEntry.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.ConfidenceMetricsEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | float The confidenceThreshold to set. |
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;
Name | Description |
value | float The f1Score to set. |
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;
Name | Description |
value | float The f1ScoreAt1 to set. |
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;
Name | Description |
value | float The f1ScoreAt5 to set. |
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)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
setPrecision(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setPrecision(float value)
Precision value.
float precision = 3;
Name | Description |
value | float The precision to set. |
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;
Name | Description |
value | float The precisionAt1 to set. |
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;
Name | Description |
value | float The precisionAt5 to set. |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder | This builder for chaining. |
setRecall(float value)
public PrCurve.ConfidenceMetricsEntry.Builder setRecall(float value)
Recall value.
float recall = 2;
Name | Description |
value | float The recall to set. |
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;
Name | Description |
value | float The recallAt1 to set. |
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;
Name | Description |
value | float The recallAt5 to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrCurve.ConfidenceMetricsEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PrCurve.ConfidenceMetricsEntry.Builder |