Kernel PCA and Pre-Image Reconstruction

standard PCA, Gaussian kernel PCA, polynomial kernel PCA, pre-image reconstruction


Updated Tue, 02 Sep 2014 19:43:36 +0000

View License

In this package, we implement standard PCA, kernel PCA, and pre-image reconstruction of Gaussian kernel PCA. We also provide three demos: (1) Two concentric spheres embedding; (2) Face classification with PCA/kPCA; (3) Active shape models with kPCA.
Standard PCA is not optimized for very high dimensional data. But our kernel PCA implementation is very efficient, and has been used in many research projects.

Cite As

Quan Wang (2023). Kernel PCA and Pre-Image Reconstruction (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Fixed a fatal bug in pre-image reconstruction.

addpath('../code') in demo2

We replaces all demos, and the data used for the demo. We also updated the document to provide better illustration and better experiments. Now the code generates exactly the same results as shown in the paper.

The efficiency is optimized.