resample(snns)R Documentation

Resample new pattern set from existing one

Description

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.

Usage

resample.nn.pattern(p, n, prob=rep(1/nrow(p$input), length = nrow(p$input)))

Arguments

p object of type nn.pattern
n number of patterns to be returned
prob resampling probabilities of patterns in p

Value

Returns an object of type nn.pattern.


[Package Contents]