Package com.oracle.bmc.aidocument.model
Class KeyValueDetectionConfidenceEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.KeyValueDetectionConfidenceEntry.Builder
-
- Enclosing class:
- KeyValueDetectionConfidenceEntry
public static class KeyValueDetectionConfidenceEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValueDetectionConfidenceEntry.Builderaccuracy(Float accuracy)accuracy under the thresholdKeyValueDetectionConfidenceEntrybuild()KeyValueDetectionConfidenceEntry.Buildercopy(KeyValueDetectionConfidenceEntry model)KeyValueDetectionConfidenceEntry.Builderf1Score(Float f1Score)f1Score under the thresholdKeyValueDetectionConfidenceEntry.Builderprecision(Float precision)Precision under the thresholdKeyValueDetectionConfidenceEntry.Builderrecall(Float recall)Recall under the thresholdKeyValueDetectionConfidenceEntry.Builderthreshold(Float threshold)Threshold used to calculate precision and recall.
-
-
-
Method Detail
-
threshold
public KeyValueDetectionConfidenceEntry.Builder threshold(Float threshold)
Threshold used to calculate precision and recall.- Parameters:
threshold- the value to set- Returns:
- this builder
-
precision
public KeyValueDetectionConfidenceEntry.Builder precision(Float precision)
Precision under the threshold- Parameters:
precision- the value to set- Returns:
- this builder
-
recall
public KeyValueDetectionConfidenceEntry.Builder recall(Float recall)
Recall under the threshold- Parameters:
recall- the value to set- Returns:
- this builder
-
f1Score
public KeyValueDetectionConfidenceEntry.Builder f1Score(Float f1Score)
f1Score under the threshold- Parameters:
f1Score- the value to set- Returns:
- this builder
-
accuracy
public KeyValueDetectionConfidenceEntry.Builder accuracy(Float accuracy)
accuracy under the threshold- Parameters:
accuracy- the value to set- Returns:
- this builder
-
build
public KeyValueDetectionConfidenceEntry build()
-
copy
public KeyValueDetectionConfidenceEntry.Builder copy(KeyValueDetectionConfidenceEntry model)
-
-