powered by
kpca
kpca(x,complexity)
dataset
tuning parameter in Gaussian kernel. larger complexity means a wiggly kernel function
principal component
Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.
# NOT RUN { n = 50; p = 5 x = matrix(rnorm(n*p),n,p) pred=kpca(x,1)[,1:3] # }
Run the code above in your browser using DataLab