TODO
binomial_helper(raw, levels, type = c("prob", "class"), threshold = 0.5)
raw | A numeric vector of probabilities. |
---|---|
levels | A two-element character vector of class names. The first
element is the name of the baseline class, and the second element is
the name of the positive event. Probabilities specified in |
type | TODO |
threshold | TODO |