KeyValueDetectionConfidenceEntry

class oci.ai_document.models.KeyValueDetectionConfidenceEntry(**kwargs)

Bases: object

Key Value Detection Confidence Entry.

Methods:

__init__(**kwargs)

Initializes a new KeyValueDetectionConfidenceEntry object with values from keyword arguments.

Attributes:

accuracy

[Required] Gets the accuracy of this KeyValueDetectionConfidenceEntry.

f1_score

[Required] Gets the f1_score of this KeyValueDetectionConfidenceEntry.

precision

[Required] Gets the precision of this KeyValueDetectionConfidenceEntry.

recall

[Required] Gets the recall of this KeyValueDetectionConfidenceEntry.

threshold

[Required] Gets the threshold of this KeyValueDetectionConfidenceEntry.

__init__(**kwargs)

Initializes a new KeyValueDetectionConfidenceEntry 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 KeyValueDetectionConfidenceEntry.

  • precision (float) – The value to assign to the precision property of this KeyValueDetectionConfidenceEntry.

  • recall (float) – The value to assign to the recall property of this KeyValueDetectionConfidenceEntry.

  • f1_score (float) – The value to assign to the f1_score property of this KeyValueDetectionConfidenceEntry.

  • accuracy (float) – The value to assign to the accuracy property of this KeyValueDetectionConfidenceEntry.

property accuracy

[Required] Gets the accuracy of this KeyValueDetectionConfidenceEntry. accuracy under the threshold

Returns

The accuracy of this KeyValueDetectionConfidenceEntry.

Return type

float

property f1_score

[Required] Gets the f1_score of this KeyValueDetectionConfidenceEntry. f1Score under the threshold

Returns

The f1_score of this KeyValueDetectionConfidenceEntry.

Return type

float

property precision

[Required] Gets the precision of this KeyValueDetectionConfidenceEntry. Precision under the threshold

Returns

The precision of this KeyValueDetectionConfidenceEntry.

Return type

float

property recall

[Required] Gets the recall of this KeyValueDetectionConfidenceEntry. Recall under the threshold

Returns

The recall of this KeyValueDetectionConfidenceEntry.

Return type

float

property threshold

[Required] Gets the threshold of this KeyValueDetectionConfidenceEntry. Threshold used to calculate precision and recall.

Returns

The threshold of this KeyValueDetectionConfidenceEntry.

Return type

float