public static class NamedEntityRecognitionEvaluationResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NamedEntityRecognitionEvaluationResult |
build() |
NamedEntityRecognitionEvaluationResult.Builder |
copy(NamedEntityRecognitionEvaluationResult model) |
NamedEntityRecognitionEvaluationResult.Builder |
definedTags(Map<String,Map<String,Object>> definedTags) |
NamedEntityRecognitionEvaluationResult.Builder |
freeformTags(Map<String,String> freeformTags) |
NamedEntityRecognitionEvaluationResult.Builder |
predictedEntities(List<EntityLabelErrorAnalysis> predictedEntities)
List of true(actual) entities in test data for NER model
|
NamedEntityRecognitionEvaluationResult.Builder |
record(String record)
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line
sequence(1 is metadata)
|
NamedEntityRecognitionEvaluationResult.Builder |
trueEntities(List<EntityLabelErrorAnalysis> trueEntities)
List of true(actual) entities in test data for NER model
|
public NamedEntityRecognitionEvaluationResult.Builder freeformTags(Map<String,String> freeformTags)
public NamedEntityRecognitionEvaluationResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public NamedEntityRecognitionEvaluationResult.Builder record(String record)
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)
record
- the value to setpublic NamedEntityRecognitionEvaluationResult.Builder trueEntities(List<EntityLabelErrorAnalysis> trueEntities)
List of true(actual) entities in test data for NER model
trueEntities
- the value to setpublic NamedEntityRecognitionEvaluationResult.Builder predictedEntities(List<EntityLabelErrorAnalysis> predictedEntities)
List of true(actual) entities in test data for NER model
predictedEntities
- the value to setpublic NamedEntityRecognitionEvaluationResult build()
public NamedEntityRecognitionEvaluationResult.Builder copy(NamedEntityRecognitionEvaluationResult model)
Copyright © 2016–2024. All rights reserved.