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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TextClassificationModelEvaluationResultbuild()TextClassificationModelEvaluationResult.Buildercopy(TextClassificationModelEvaluationResult model)TextClassificationModelEvaluationResult.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)TextClassificationModelEvaluationResult.BuilderfreeformTags(Map<String,String> freeformTags)TextClassificationModelEvaluationResult.Builderlocation(String location)For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)TextClassificationModelEvaluationResult.BuilderpredictedLabels(List<String> predictedLabels)List of predicted labels by custom multi class or multi label TextClassification modelTextClassificationModelEvaluationResult.BuildertrueLabels(List<String> trueLabels)List of true(actual) labels in test data for multi class or multi label TextClassification
 
- 
- 
- 
Method Detail- 
freeformTagspublic TextClassificationModelEvaluationResult.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic TextClassificationModelEvaluationResult.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
locationpublic 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
 
 - 
trueLabelspublic 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
 
 - 
predictedLabelspublic 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
 
 - 
buildpublic TextClassificationModelEvaluationResult build() 
 - 
copypublic TextClassificationModelEvaluationResult.Builder copy(TextClassificationModelEvaluationResult model) 
 
- 
 
-