Package com.oracle.bmc.aidocument.model
Class KeyValueDetectionLabelMetricsReport.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.KeyValueDetectionLabelMetricsReport.Builder
-
- Enclosing class:
- KeyValueDetectionLabelMetricsReport
public static class KeyValueDetectionLabelMetricsReport.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValueDetectionLabelMetricsReportbuild()KeyValueDetectionLabelMetricsReport.BuilderconfidenceEntries(List<KeyValueDetectionConfidenceEntry> confidenceEntries)List of key value detection confidence report.KeyValueDetectionLabelMetricsReport.Buildercopy(KeyValueDetectionLabelMetricsReport model)KeyValueDetectionLabelMetricsReport.BuilderdocumentCount(Integer documentCount)Total test documents in the label.KeyValueDetectionLabelMetricsReport.Builderlabel(String label)Label nameKeyValueDetectionLabelMetricsReport.BuildermeanAveragePrecision(Float meanAveragePrecision)Mean average precision under different thresholds
-
-
-
Method Detail
-
label
public KeyValueDetectionLabelMetricsReport.Builder label(String label)
Label name- Parameters:
label- the value to set- Returns:
- this builder
-
documentCount
public KeyValueDetectionLabelMetricsReport.Builder documentCount(Integer documentCount)
Total test documents in the label.- Parameters:
documentCount- the value to set- Returns:
- this builder
-
meanAveragePrecision
public KeyValueDetectionLabelMetricsReport.Builder meanAveragePrecision(Float meanAveragePrecision)
Mean average precision under different thresholds- Parameters:
meanAveragePrecision- the value to set- Returns:
- this builder
-
confidenceEntries
public KeyValueDetectionLabelMetricsReport.Builder confidenceEntries(List<KeyValueDetectionConfidenceEntry> confidenceEntries)
List of key value detection confidence report.- Parameters:
confidenceEntries- the value to set- Returns:
- this builder
-
build
public KeyValueDetectionLabelMetricsReport build()
-
copy
public KeyValueDetectionLabelMetricsReport.Builder copy(KeyValueDetectionLabelMetricsReport model)
-
-