buffer {dials} | R Documentation |
Buffer size
Description
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."
Usage
buffer(range = c(0, 0.5), trans = NULL)
Arguments
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 |
Details
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)
.
See Also
Examples
buffer()