Package com.oracle.bmc.ailanguage.model
Class TextClassificationModelEvaluationResult.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.TextClassificationModelEvaluationResult.Builder
-
- Enclosing class:
- TextClassificationModelEvaluationResult
public static class TextClassificationModelEvaluationResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextClassificationModelEvaluationResult
build()
TextClassificationModelEvaluationResult.Builder
copy(TextClassificationModelEvaluationResult model)
TextClassificationModelEvaluationResult.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
TextClassificationModelEvaluationResult.Builder
freeformTags(Map<String,String> freeformTags)
TextClassificationModelEvaluationResult.Builder
location(String location)
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)TextClassificationModelEvaluationResult.Builder
predictedLabels(List<String> predictedLabels)
List of predicted labels by custom multi class or multi label TextClassification modelTextClassificationModelEvaluationResult.Builder
trueLabels(List<String> trueLabels)
List of true(actual) labels in test data for multi class or multi label TextClassification
-
-
-
Method Detail
-
freeformTags
public TextClassificationModelEvaluationResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public TextClassificationModelEvaluationResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
location
public TextClassificationModelEvaluationResult.Builder location(String location)
For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)- Parameters:
location
- the value to set- Returns:
- this builder
-
trueLabels
public TextClassificationModelEvaluationResult.Builder trueLabels(List<String> trueLabels)
List of true(actual) labels in test data for multi class or multi label TextClassification- Parameters:
trueLabels
- the value to set- Returns:
- this builder
-
predictedLabels
public TextClassificationModelEvaluationResult.Builder predictedLabels(List<String> predictedLabels)
List of predicted labels by custom multi class or multi label TextClassification model- Parameters:
predictedLabels
- the value to set- Returns:
- this builder
-
build
public TextClassificationModelEvaluationResult build()
-
copy
public TextClassificationModelEvaluationResult.Builder copy(TextClassificationModelEvaluationResult model)
-
-