
Last chance! 50% off unlimited learning
Sale ends in
Create a Random Matrix: image-control
RandMatImageControl(p, d, ih, iw, pwMin, pwMax, ...)
the number of dimensions.
the number of desired columns in the projection matrix.
the height (px) of the image.
the width (px) of the image.
the minimum patch size to sample.
the maximum patch size to sample.
used to handle superfluous arguments passed in using paramList.
A random matrix to use in running RerF
.
# NOT RUN {
p <- 28^2
d <- 8
ih <- iw <- 28
pwMin <- 3
pwMax <- 6
paramList <- list(p = p, d = d, ih = ih, iw = iw, pwMin = pwMin, pwMax = pwMax)
set.seed(8)
(a <- do.call(RandMatImageControl, paramList))
# }
Run the code above in your browser using DataLab