Description Usage Details Slots
A predx
class for binary probabilistic predictions.
1 2 3 4 5 6 7 8 9 10 11 12 | Binary(x)
is.Binary(object)
## S4 method for signature 'Binary'
predx_to_json(x)
## S4 method for signature 'Binary'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S4 method for signature '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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.