f: f

View source: R/hypergate.R

fR Documentation

f

Description

Computes the F_beta score given an intenger number of True Positives (TP), True Negatives (TN). It is optimized for speed and n is thus not the total number of events

Usage

f(TP, TN, n, beta2 = 1)

Arguments

TP

Number of true positive events

TN

Number of true negative events

n

beta^2*(TP+FN)+TN+FP

beta2

squared-beta to weight precision (low beta) or recall (high beta) more


hypergate documentation built on Aug. 31, 2023, 5:12 p.m.