This function provides the overall accuracy rate for the two vectors. This is the sum of the true positive and true negative values.
sum(True positive) / sum(Condition positive)
sum(True negative) / sum(Condition negative)
This function provides the overall accuracy rate for the two vectors. This is the sum of the true positive and true negative values.
sum(True positive) / sum(Condition positive)
sum(True negative) / sum(Condition negative)