Binary-class.Rd
A predx
class for binary probabilistic predictions.
Binary(x) is.Binary(object) # S4 method for Binary predx_to_json(x) # S4 method for Binary as.data.frame(x, row.names = NULL, optional = FALSE, ...) # S4 method for Binary transform_predx(x, to_class, ...)
A single numeric probability that is greater than or equal to 0 and less than or equal to 1.
In JSON and CSV representations, this probability is named prob
.
predx
A single numeric probability.