MATLAB Kernel PCA: PCA with training data , projection of new data
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
KernelPca.m is a MATLAB class file that enables you to do the following three things with a very short code.
1.fitting a kernel pca model with training-data with the three kernel functions (gaussian, polynomial, linear) (demo.m)
2.projection of new data with the fitted pca model (demo.m)
3.confirming the contribution ratio (demo2.m)
See the github page for more detail.
https://github.com/kitayama1234/MATLAB-Kernel-PCA
[Example usage]
% There are a training dataset 'X' and testing dataset 'Xtest'
% train pca model with 'X'
kpca = KernelPca(X, 'gaussian', 'gamma', 2.5, 'AutoScale', true);
% project 'X' using the fitted model
projected_X = project(kpca, X, 2);
% project 'Xtest' using the fitted model
projected_Xtest = project(kpca, Xtest, 2);
Zitieren als
Masaki Kitayama (2026). MATLAB-Kernel-PCA (https://github.com/kitayama1234/MATLAB-Kernel-PCA), GitHub. Abgerufen .
Kategorien
Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und MATLAB Answers
Allgemeine Informationen
- Version 2.0.1 (59,8 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen bis R2019a
Plattform-Kompatibilität
- Windows
- macOS
- Linux
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 2.0.1 | edit description |
||
| 2.0.0 | add the propertie of contribution ratio |
||
| 1.0.2 | edit |
||
| 1.0.1 | edit |
||
| 1.0.0 |
