MATLAB Kernel PCA: PCA with training data , projection of new data
現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
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);
引用
Masaki Kitayama (2026). MATLAB-Kernel-PCA (https://github.com/kitayama1234/MATLAB-Kernel-PCA), GitHub. に取得済み.
一般的な情報
- バージョン 2.0.1 (59.8 KB)
-
GitHub でライセンスを表示
MATLAB リリースの互換性
- R2019a 以前のすべてのリリースと互換性あり
プラットフォームの互換性
- Windows
- macOS
- Linux
