do.dve | R Documentation |
Distinguishing Variance Embedding (DVE) is an unsupervised nonlinear manifold learning method. It can be considered as a balancing method between Maximum Variance Unfolding and Laplacian Eigenmaps. The algorithm unfolds the data by maximizing the global variance subject to the locality-preserving constraint. Instead of defining certain kernel, it applies local scaling scheme in that it automatically computes adaptive neighborhood-based kernel bandwidth.
do.dve( X, ndim = 2, type = c("proportion", 0.1), preprocess = c("null", "center", "scale", "cscale", "decorrelate", "whiten") )
X |
an (n\times p) matrix or data frame whose rows are observations and columns represent independent variables. |
ndim |
an integer-valued target dimension. |
type |
a vector of neighborhood graph construction. Following types are supported;
|
preprocess |
an additional option for preprocessing the data.
Default is "null". See also |
a named list containing
an (n\times ndim) matrix whose rows are embedded observations.
a list containing information for out-of-sample prediction.
Kisung You
wang_combining_2009Rdimtools
\insertRefqinggang_distinguishing_2010Rdimtools
## generate swiss-roll dataset of size 100 set.seed(100) X <- aux.gensamples(dname="crown", n=100) ## try different nbd size out1 <- do.dve(X, type=c("proportion",0.5)) out2 <- do.dve(X, type=c("proportion",0.7)) out3 <- do.dve(X, type=c("proportion",0.9)) ## visualize opar <- par(no.readonly=TRUE) par(mfrow=c(1,3)) plot(out1$Y, main="50% connected") plot(out2$Y, main="70% connected") plot(out3$Y, main="90% connected") par(opar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.