@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") public final class NamedEntityRecognitionEvaluationResult extends EvaluationResultSummary
Possible NER model error analysis
Note: Objects should always be created or deserialized using the NamedEntityRecognitionEvaluationResult.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the NamedEntityRecognitionEvaluationResult.Builder
, which maintain a
set of all explicitly set fields called NamedEntityRecognitionEvaluationResult.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
NamedEntityRecognitionEvaluationResult.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
NamedEntityRecognitionEvaluationResult(Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String record,
List<EntityLabelErrorAnalysis> trueEntities,
List<EntityLabelErrorAnalysis> predictedEntities)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static NamedEntityRecognitionEvaluationResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<EntityLabelErrorAnalysis> |
getPredictedEntities()
List of true(actual) entities in test data for NER model
|
String |
getRecord()
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1
is metadata)
|
List<EntityLabelErrorAnalysis> |
getTrueEntities()
List of true(actual) entities in test data for NER model
|
int |
hashCode() |
NamedEntityRecognitionEvaluationResult.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDefinedTags, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public NamedEntityRecognitionEvaluationResult(Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String record, List<EntityLabelErrorAnalysis> trueEntities, List<EntityLabelErrorAnalysis> predictedEntities)
public static NamedEntityRecognitionEvaluationResult.Builder builder()
Create a new builder.
public NamedEntityRecognitionEvaluationResult.Builder toBuilder()
public String getRecord()
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)
public List<EntityLabelErrorAnalysis> getTrueEntities()
List of true(actual) entities in test data for NER model
public List<EntityLabelErrorAnalysis> getPredictedEntities()
List of true(actual) entities in test data for NER model
public String toString()
toString
in class EvaluationResultSummary
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class EvaluationResultSummary
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class EvaluationResultSummary
public int hashCode()
hashCode
in class EvaluationResultSummary
Copyright © 2016–2024. All rights reserved.