DocumentClassificationLabelMetricsReport¶
-
class
oci.ai_document.models.
DocumentClassificationLabelMetricsReport
(**kwargs)¶ Bases:
object
Label Metrics report for Document Classification Model.
Methods
__init__
(**kwargs)Initializes a new DocumentClassificationLabelMetricsReport object with values from keyword arguments. Attributes
confidence_entries
[Required] Gets the confidence_entries of this DocumentClassificationLabelMetricsReport. label
Gets the label of this DocumentClassificationLabelMetricsReport. mean_average_precision
[Required] Gets the mean_average_precision of this DocumentClassificationLabelMetricsReport. -
__init__
(**kwargs)¶ Initializes a new DocumentClassificationLabelMetricsReport 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 DocumentClassificationLabelMetricsReport.
- mean_average_precision (float) – The value to assign to the mean_average_precision property of this DocumentClassificationLabelMetricsReport.
- confidence_entries (list[oci.ai_document.models.DocumentClassificationConfidenceEntry]) – The value to assign to the confidence_entries property of this DocumentClassificationLabelMetricsReport.
-
confidence_entries
¶ [Required] Gets the confidence_entries of this DocumentClassificationLabelMetricsReport. List of document classification confidence report.
Returns: The confidence_entries of this DocumentClassificationLabelMetricsReport. Return type: list[oci.ai_document.models.DocumentClassificationConfidenceEntry]
-
label
¶ Gets the label of this DocumentClassificationLabelMetricsReport. Label name
Returns: The label of this DocumentClassificationLabelMetricsReport. Return type: str
-
mean_average_precision
¶ [Required] Gets the mean_average_precision of this DocumentClassificationLabelMetricsReport. Mean average precision under different thresholds
Returns: The mean_average_precision of this DocumentClassificationLabelMetricsReport. Return type: float
-