buffer | R Documentation |
In equivocal zones, predictions are considered equivocal (i.e. "could go either way") if their probability falls within some distance on either side of the classification threshold. That distance is called the "buffer."
buffer(range = c(0, 0.5), trans = NULL)
range |
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units. |
trans |
A |
A buffer of .5 is only possible if the classification threshold is .5.
In that case, all probability predictions are considered equivocal,
regardless of their value in [0, 1]
.
Otherwise, the maximum buffer is min(threshold, 1 - threshold)
.
threshold()
buffer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.