Usage
juggle(data, classes, sampled = TRUE, sample.dim = FALSE,
num = 100, sample.proportion = 0.1, k = 2)
juggle.classify(data,J,tdata,indices)
Arguments
data,tdata
training data from which to build the classifier. In the case
of juggle.classify
, tdata
is the training data and
data
is the test data.
sampled
whether the data are subsampled.
sample.dim
if TRUE, the dimensions (variates) are also sampled.
num
number of juggles (resamples).
sample.proportion
proportion of the data to sample. If 1 or greater, the data are sampled
with replacement.
k
number of variates to sample when sample.dim
is TRUE.
indices
the indices of the juggles to use.