I want a code for kernel PCA

3 visualizzazioni (ultimi 30 giorni)
BANI tita
BANI tita il 14 Feb 2013
hello, I am looking for a site where I can find a program reduction dimentionality kernel PCA think you

Risposte (1)

Shashank Prasanna
Shashank Prasanna il 14 Feb 2013
MATLAB currently doesn't offer this as a part of the statistics toolbox. In the past I've used this and it worked really well for me:
  6 Commenti
BANI tita
BANI tita il 19 Feb 2013
Modificato: Walter Roberson il 19 Feb 2013
hello,
here is the program I run but still it gives me same error
%%%-----------------------------------
load baseAT.mat;
X=PA;
labels=lblsa;
figure, scatter3(X(:,1), X(:,2), X(:,3), 5, labels); title('Original dataset'), drawnow
no_dims = round(intrinsic_dim(X, 'EigValue'));
disp(['MLE estimate of intrinsic dimensionality: ' num2str(no_dims)]);
mappedX = compute_mapping(X, 'KernelPCA', no_dims, 7);
figure, scatter(mappedX(:,1), mappedX(:,2), 5, labels); title('Result of dimensionality reduction'), drawnow
Hariprasad Kannan
Hariprasad Kannan il 7 Mar 2018
The kernel pca code doesn't address the pre-image problem. It gives location of the points in the feature space.

Accedi per commentare.

Categorie

Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by