public static class DocumentClassificationLabelMetricsReport.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DocumentClassificationLabelMetricsReport |
build() |
DocumentClassificationLabelMetricsReport.Builder |
confidenceEntries(List<DocumentClassificationConfidenceEntry> confidenceEntries)
List of document classification confidence report.
|
DocumentClassificationLabelMetricsReport.Builder |
copy(DocumentClassificationLabelMetricsReport model) |
DocumentClassificationLabelMetricsReport.Builder |
label(String label)
Label name
|
DocumentClassificationLabelMetricsReport.Builder |
meanAveragePrecision(Float meanAveragePrecision)
Mean average precision under different thresholds
|
public DocumentClassificationLabelMetricsReport.Builder label(String label)
Label name
label
- the value to setpublic DocumentClassificationLabelMetricsReport.Builder meanAveragePrecision(Float meanAveragePrecision)
Mean average precision under different thresholds
meanAveragePrecision
- the value to setpublic DocumentClassificationLabelMetricsReport.Builder confidenceEntries(List<DocumentClassificationConfidenceEntry> confidenceEntries)
List of document classification confidence report.
confidenceEntries
- the value to setpublic DocumentClassificationLabelMetricsReport build()
public DocumentClassificationLabelMetricsReport.Builder copy(DocumentClassificationLabelMetricsReport model)
Copyright © 2016–2024. All rights reserved.