Skip to content

ConfusionMatrix

Source code in docs_src/capo_glue/types/confusion_matrix.py
class ConfusionMatrix(TypedDict, closed=True):
    num_true_positives: NotRequired["capo_glue.types.records_count.RecordsCount"]
    """<p>The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.</p>"""
    num_false_positives: NotRequired["capo_glue.types.records_count.RecordsCount"]
    """<p>The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.</p>"""
    num_true_negatives: NotRequired["capo_glue.types.records_count.RecordsCount"]
    """<p>The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.</p>"""
    num_false_negatives: NotRequired["capo_glue.types.records_count.RecordsCount"]
    """<p>The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.</p>"""

num_false_negatives instance-attribute

num_false_negatives: NotRequired[RecordsCount]

The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.

num_false_positives instance-attribute

num_false_positives: NotRequired[RecordsCount]

The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.

num_true_negatives instance-attribute

num_true_negatives: NotRequired[RecordsCount]

The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.

num_true_positives instance-attribute

num_true_positives: NotRequired[RecordsCount]

The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.