Package com.oracle.bmc.aidocument.model
Class DocumentClassificationConfidenceEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.DocumentClassificationConfidenceEntry.Builder
-
- Enclosing class:
- DocumentClassificationConfidenceEntry
public static class DocumentClassificationConfidenceEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentClassificationConfidenceEntrybuild()DocumentClassificationConfidenceEntry.Buildercopy(DocumentClassificationConfidenceEntry model)DocumentClassificationConfidenceEntry.Builderf1Score(Float f1Score)f1Score under the thresholdDocumentClassificationConfidenceEntry.Builderprecision(Float precision)Precision under the thresholdDocumentClassificationConfidenceEntry.Builderrecall(Float recall)Recall under the thresholdDocumentClassificationConfidenceEntry.Builderthreshold(Float threshold)Threshold used to calculate precision and recall.
-
-
-
Method Detail
-
threshold
public DocumentClassificationConfidenceEntry.Builder threshold(Float threshold)
Threshold used to calculate precision and recall.- Parameters:
threshold- the value to set- Returns:
- this builder
-
precision
public DocumentClassificationConfidenceEntry.Builder precision(Float precision)
Precision under the threshold- Parameters:
precision- the value to set- Returns:
- this builder
-
recall
public DocumentClassificationConfidenceEntry.Builder recall(Float recall)
Recall under the threshold- Parameters:
recall- the value to set- Returns:
- this builder
-
f1Score
public DocumentClassificationConfidenceEntry.Builder f1Score(Float f1Score)
f1Score under the threshold- Parameters:
f1Score- the value to set- Returns:
- this builder
-
build
public DocumentClassificationConfidenceEntry build()
-
copy
public DocumentClassificationConfidenceEntry.Builder copy(DocumentClassificationConfidenceEntry model)
-
-