public static class DocumentClassificationModelMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DocumentClassificationModelMetrics |
build() |
DocumentClassificationModelMetrics.Builder |
copy(DocumentClassificationModelMetrics model) |
DocumentClassificationModelMetrics.Builder |
datasetSummary(DatasetSummary datasetSummary) |
DocumentClassificationModelMetrics.Builder |
labelMetricsReport(List<DocumentClassificationLabelMetricsReport> labelMetricsReport)
List of metrics entries per label.
|
DocumentClassificationModelMetrics.Builder |
overallMetricsReport(DocumentClassificationOverallMetricsReport overallMetricsReport) |
public DocumentClassificationModelMetrics.Builder datasetSummary(DatasetSummary datasetSummary)
public DocumentClassificationModelMetrics.Builder labelMetricsReport(List<DocumentClassificationLabelMetricsReport> labelMetricsReport)
List of metrics entries per label.
labelMetricsReport
- the value to setpublic DocumentClassificationModelMetrics.Builder overallMetricsReport(DocumentClassificationOverallMetricsReport overallMetricsReport)
public DocumentClassificationModelMetrics build()
public DocumentClassificationModelMetrics.Builder copy(DocumentClassificationModelMetrics model)
Copyright © 2016–2024. All rights reserved.