@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") public final class TextClassificationModelEvaluationResult extends EvaluationResultSummary
Possible TXTC model error analysis
Note: Objects should always be created or deserialized using the TextClassificationModelEvaluationResult.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 TextClassificationModelEvaluationResult.Builder
, which maintain a
set of all explicitly set fields called TextClassificationModelEvaluationResult.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 |
TextClassificationModelEvaluationResult.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TextClassificationModelEvaluationResult(Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String location,
List<String> trueLabels,
List<String> predictedLabels)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TextClassificationModelEvaluationResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getLocation()
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1
is metadata)
|
List<String> |
getPredictedLabels()
List of predicted labels by custom multi class or multi label TextClassification model
|
List<String> |
getTrueLabels()
List of true(actual) labels in test data for multi class or multi label TextClassification
|
int |
hashCode() |
TextClassificationModelEvaluationResult.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDefinedTags, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static TextClassificationModelEvaluationResult.Builder builder()
Create a new builder.
public TextClassificationModelEvaluationResult.Builder toBuilder()
public String getLocation()
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)
public List<String> getTrueLabels()
List of true(actual) labels in test data for multi class or multi label TextClassification
public List<String> getPredictedLabels()
List of predicted labels by custom multi class or multi label TextClassification 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.