KeyValueDetectionLabelMetricsReport¶
- class oci.ai_document.models.KeyValueDetectionLabelMetricsReport(**kwargs)¶
Bases:
objectLabel Metrics report for Key Value Detection Model.
Methods:
__init__(**kwargs)Initializes a new KeyValueDetectionLabelMetricsReport object with values from keyword arguments.
Attributes:
[Required] Gets the confidence_entries of this KeyValueDetectionLabelMetricsReport.
Gets the document_count of this KeyValueDetectionLabelMetricsReport.
Gets the label of this KeyValueDetectionLabelMetricsReport.
[Required] Gets the mean_average_precision of this KeyValueDetectionLabelMetricsReport.
- __init__(**kwargs)¶
Initializes a new KeyValueDetectionLabelMetricsReport object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
label (str) – The value to assign to the label property of this KeyValueDetectionLabelMetricsReport.
document_count (int) – The value to assign to the document_count property of this KeyValueDetectionLabelMetricsReport.
mean_average_precision (float) – The value to assign to the mean_average_precision property of this KeyValueDetectionLabelMetricsReport.
confidence_entries (list[oci.ai_document.models.KeyValueDetectionConfidenceEntry]) – The value to assign to the confidence_entries property of this KeyValueDetectionLabelMetricsReport.
- property confidence_entries¶
[Required] Gets the confidence_entries of this KeyValueDetectionLabelMetricsReport. List of key value detection confidence report.
- Returns
The confidence_entries of this KeyValueDetectionLabelMetricsReport.
- Return type
list[oci.ai_document.models.KeyValueDetectionConfidenceEntry]
- property document_count¶
Gets the document_count of this KeyValueDetectionLabelMetricsReport. Total test documents in the label.
- Returns
The document_count of this KeyValueDetectionLabelMetricsReport.
- Return type
int
- property label¶
Gets the label of this KeyValueDetectionLabelMetricsReport. Label name
- Returns
The label of this KeyValueDetectionLabelMetricsReport.
- Return type
str
- property mean_average_precision¶
[Required] Gets the mean_average_precision of this KeyValueDetectionLabelMetricsReport. Mean average precision under different thresholds
- Returns
The mean_average_precision of this KeyValueDetectionLabelMetricsReport.
- Return type
float