Nothing
"random.subspace" <-
function(d=2, m, scaling=TRUE){
d.original <- nrow(m);
if (d >= d.original)
stop("random.subspace: subspace dimension must be lower than space dimension", call.=FALSE);
# generation of the vector selected.features containing the indices randomly selected
selected.features <- random.component.selection(d, d.original);
# random data projection
if (scaling == TRUE)
reduced.m <- sqrt(d.original/d) * m[selected.features,]
else
reduced.m <- m[selected.features,];
reduced.m
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.