DocumentClassificationConfidenceEntry¶
- class oci.ai_document.models.DocumentClassificationConfidenceEntry(**kwargs)¶
Bases:
objectConfidence Entry.
Methods:
__init__(**kwargs)Initializes a new DocumentClassificationConfidenceEntry object with values from keyword arguments.
Attributes:
[Required] Gets the f1_score of this DocumentClassificationConfidenceEntry.
[Required] Gets the precision of this DocumentClassificationConfidenceEntry.
[Required] Gets the recall of this DocumentClassificationConfidenceEntry.
[Required] Gets the threshold of this DocumentClassificationConfidenceEntry.
- __init__(**kwargs)¶
Initializes a new DocumentClassificationConfidenceEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
threshold (float) – The value to assign to the threshold property of this DocumentClassificationConfidenceEntry.
precision (float) – The value to assign to the precision property of this DocumentClassificationConfidenceEntry.
recall (float) – The value to assign to the recall property of this DocumentClassificationConfidenceEntry.
f1_score (float) – The value to assign to the f1_score property of this DocumentClassificationConfidenceEntry.
- property f1_score¶
[Required] Gets the f1_score of this DocumentClassificationConfidenceEntry. f1Score under the threshold
- Returns
The f1_score of this DocumentClassificationConfidenceEntry.
- Return type
float
- property precision¶
[Required] Gets the precision of this DocumentClassificationConfidenceEntry. Precision under the threshold
- Returns
The precision of this DocumentClassificationConfidenceEntry.
- Return type
float
- property recall¶
[Required] Gets the recall of this DocumentClassificationConfidenceEntry. Recall under the threshold
- Returns
The recall of this DocumentClassificationConfidenceEntry.
- Return type
float
- property threshold¶
[Required] Gets the threshold of this DocumentClassificationConfidenceEntry. Threshold used to calculate precision and recall.
- Returns
The threshold of this DocumentClassificationConfidenceEntry.
- Return type
float