Calculate classification precision

Share:

Description

Calculates classification precision

Usage

1
calc_precision(tp, tn, fp, fn)

Arguments

tp

true positives

tn

true negatives

fp

false positives

fn

false negatives

Value

Classification precision

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.