public static class KeyValueDetectionConfidenceEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyValueDetectionConfidenceEntry.Builder |
accuracy(Float accuracy)
accuracy under the threshold
|
KeyValueDetectionConfidenceEntry |
build() |
KeyValueDetectionConfidenceEntry.Builder |
copy(KeyValueDetectionConfidenceEntry model) |
KeyValueDetectionConfidenceEntry.Builder |
f1Score(Float f1Score)
f1Score under the threshold
|
KeyValueDetectionConfidenceEntry.Builder |
precision(Float precision)
Precision under the threshold
|
KeyValueDetectionConfidenceEntry.Builder |
recall(Float recall)
Recall under the threshold
|
KeyValueDetectionConfidenceEntry.Builder |
threshold(Float threshold)
Threshold used to calculate precision and recall.
|
public KeyValueDetectionConfidenceEntry.Builder threshold(Float threshold)
Threshold used to calculate precision and recall.
threshold
- the value to setpublic KeyValueDetectionConfidenceEntry.Builder precision(Float precision)
Precision under the threshold
precision
- the value to setpublic KeyValueDetectionConfidenceEntry.Builder recall(Float recall)
Recall under the threshold
recall
- the value to setpublic KeyValueDetectionConfidenceEntry.Builder f1Score(Float f1Score)
f1Score under the threshold
f1Score
- the value to setpublic KeyValueDetectionConfidenceEntry.Builder accuracy(Float accuracy)
accuracy under the threshold
accuracy
- the value to setpublic KeyValueDetectionConfidenceEntry build()
public KeyValueDetectionConfidenceEntry.Builder copy(KeyValueDetectionConfidenceEntry model)
Copyright © 2016–2024. All rights reserved.