resample(snns) | R Documentation |
Create a bootstrap sample from p
by drawing with replacement
from p
. Default values for the resampling probabilities of the
patterns is the uniform distribution.
resample.nn.pattern(p, n, prob=rep(1/nrow(p$input), length = nrow(p$input)))
p |
object of type nn.pattern |
n |
number of patterns to be returned |
prob |
resampling probabilities of patterns in p |
Returns an object of type nn.pattern
.