public static class NamedEntityRecognitionEvaluationResults.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NamedEntityRecognitionEvaluationResults |
build() |
NamedEntityRecognitionEvaluationResults.Builder |
confusionMatrix(Map<String,ConfusionMatrixDetails> confusionMatrix)
class level confusion matrix
|
NamedEntityRecognitionEvaluationResults.Builder |
copy(NamedEntityRecognitionEvaluationResults model) |
NamedEntityRecognitionEvaluationResults.Builder |
entityMetrics(List<EntityMetrics> entityMetrics)
List of entity metrics
|
NamedEntityRecognitionEvaluationResults.Builder |
labels(List<String> labels)
labels
|
NamedEntityRecognitionEvaluationResults.Builder |
metrics(NamedEntityRecognitionModelMetrics metrics) |
public NamedEntityRecognitionEvaluationResults.Builder metrics(NamedEntityRecognitionModelMetrics metrics)
public NamedEntityRecognitionEvaluationResults.Builder entityMetrics(List<EntityMetrics> entityMetrics)
List of entity metrics
entityMetrics
- the value to setpublic NamedEntityRecognitionEvaluationResults.Builder confusionMatrix(Map<String,ConfusionMatrixDetails> confusionMatrix)
class level confusion matrix
confusionMatrix
- the value to setpublic NamedEntityRecognitionEvaluationResults.Builder labels(List<String> labels)
labels
labels
- the value to setpublic NamedEntityRecognitionEvaluationResults build()
public NamedEntityRecognitionEvaluationResults.Builder copy(NamedEntityRecognitionEvaluationResults model)
Copyright © 2016–2024. All rights reserved.