fBeta: calculate mutual information from probabilities - see...

View source: R/vectorisedCalculations.R

fBetaR Documentation

calculate mutual information from probabilities - see calculateConfusionMatrixStats to generate these probabilities from count information

Description

in the terminology here x is prediction and y is outcome / gold standard

Usage

fBeta(p_x1y1, p_x0y1, p_x1y0, beta = 1)

Arguments

p_x1y1

probability of cooccurrence of x and y - true positives.

p_x0y1

probability of occurrence of y without x - false positives

p_x1y0

probability of occurrence of x without y - false negatives

betathe

beta coefficient for the f score

Value

the fBeta score


terminological/tidy-info-stats documentation built on Nov. 19, 2022, 11:23 p.m.