# NOT RUN {
## generate samples
X <- aux.gensamples(n=123)
## compare LEA with LLE and another approximation NPE
out1 <- do.lle(X, ndim=2)
out2 <- do.npe(X, ndim=2)
out3 <- do.lea(X, ndim=2)
## visual comparison
par(mfrow=c(1,3))
plot(out1$Y[,1], out1$Y[,2], main="LLE")
plot(out2$Y[,1], out2$Y[,2], main="NPE")
plot(out3$Y[,1], out3$Y[,2], main="LEA")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab