Skip to contents

This function computes the accuracy.

Usage

ACC(TP, TN, FP, FN)

Arguments

TP

number of true positives

TN

number of true negatives

FP

number of false positives

FN

number of false negatives

Value

A numeric value.

Author

Alessandro Barberis