Skip to contents

Calculate Specificity (True Negative Rate)

Usage

.calculateSpecificity(tn, fp)

Arguments

tn

Number of true negatives

fp

Number of false positives

Value

Specificity value (0-1)