TODO

binomial_helper(raw, levels, type = c("prob", "class"),
  threshold = 0.5)

Arguments

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 raw are assumed to be for the positive event.

type

TODO

threshold

TODO