scoring.py
def accuracy(tp, tn, total):
    '''
    Calculates the accuracy from the confusion matrix.

    Args:
        tp: True Positive
        tn: True Negative
        total: Total Population
    
    Returns the accuracy
    '''
    return (tp+tn)/total

    Calculates the accuracy from the confusion matrix.

    Args:
        tp: True Positive
        tn: True Negative
        total: Total Population
    
    Returns the accuracy
    
Calculates the accuracy from the confusion matrix.
Calculates the accuracy from the confusion matrix .
def accuracy(tp, tn, total):
    return (tp+tn)/total
def accuracy ( tp , tn , total ) : return ( tp + tn ) / total
Calculates the accuracy from the confusion matrix.
Calculates the accuracy from the confusion matrix .
'''
    Calculates the accuracy from the confusion matrix.

    Args:
        tp: True Positive
        tn: True Negative
        total: Total Population
    
    Returns the accuracy
    '''
tp
None
tn
None
total
None