Last chance! 50% off unlimited learning
Sale ends in
Isometric Projection is a linear dimensionality reduction algorithm that exploits geodesic distance in original data dimension and mimicks the behavior in the target dimension. Embedded manifold is approximated by graph construction as of ISOMAP. Since it involves singular value decomposition and guesses intrinsic dimension by the number of positive singular values from the decomposition of data matrix, it automatically corrects the target dimension accordingly.
do.isoproj(
X,
ndim = 2,
type = c("proportion", 0.1),
symmetric = c("union", "intersect", "asymmetric"),
preprocess = c("center", "scale", "cscale", "decorrelate", "whiten")
)
an
an integer-valued target dimension.
a vector of neighborhood graph construction. Following types are supported;
c("knn",k)
, c("enn",radius)
, and c("proportion",ratio)
.
Default is c("proportion",0.1)
, connecting about 1/10 of nearest data points
among all data points. See also aux.graphnbd
for more details.
one of "intersect"
, "union"
or "asymmetric"
is supported. Default is "union"
. See also aux.graphnbd
for more details.
an additional option for preprocessing the data.
Default is "center". See also aux.preprocess
for more details.
a named list containing
an
a
a list containing information for out-of-sample prediction.
cai_isometric_2007Rdimtools
# NOT RUN {
## generate data
X <- aux.gensamples(n=28)
## 1. connecting 10% of data for graph construction.
output1 <- do.isoproj(X,ndim=2,type=c("proportion",0.10))
## 2. constructing 25%-connected graph
output2 <- do.isoproj(X,ndim=2,type=c("proportion",0.25))
## Visualize two different projections
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,2))
plot(output1$Y, main="10%")
plot(output2$Y, main="25%")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab