public static class KeyValueDetectionLabelMetricsReport.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyValueDetectionLabelMetricsReport |
build() |
KeyValueDetectionLabelMetricsReport.Builder |
confidenceEntries(List<KeyValueDetectionConfidenceEntry> confidenceEntries)
List of key value detection confidence report.
|
KeyValueDetectionLabelMetricsReport.Builder |
copy(KeyValueDetectionLabelMetricsReport model) |
KeyValueDetectionLabelMetricsReport.Builder |
documentCount(Integer documentCount)
Total test documents in the label.
|
KeyValueDetectionLabelMetricsReport.Builder |
label(String label)
Label name
|
KeyValueDetectionLabelMetricsReport.Builder |
meanAveragePrecision(Float meanAveragePrecision)
Mean average precision under different thresholds
|
public KeyValueDetectionLabelMetricsReport.Builder label(String label)
Label name
label
- the value to setpublic KeyValueDetectionLabelMetricsReport.Builder documentCount(Integer documentCount)
Total test documents in the label.
documentCount
- the value to setpublic KeyValueDetectionLabelMetricsReport.Builder meanAveragePrecision(Float meanAveragePrecision)
Mean average precision under different thresholds
meanAveragePrecision
- the value to setpublic KeyValueDetectionLabelMetricsReport.Builder confidenceEntries(List<KeyValueDetectionConfidenceEntry> confidenceEntries)
List of key value detection confidence report.
confidenceEntries
- the value to setpublic KeyValueDetectionLabelMetricsReport build()
public KeyValueDetectionLabelMetricsReport.Builder copy(KeyValueDetectionLabelMetricsReport model)
Copyright © 2016–2024. All rights reserved.