Kernel PCA
Kernel PCA performs principal component analysis in a feature space defined by a kernel function by eigen-decomposing the centred kernel matrix, capturing non-linear structure that linear PCA misses.
커널 PCA는 커널 함수가 정의하는 특징공간에서 중심화한 커널 행렬을 고유분해하여 선형 PCA가 놓치는 비선형 구조를 성분으로 추출하는 방법입니다.
My variables lie on a curved structure that ordinary PCA cannot unfold; how can I extract non-linear components?
변수들이 휘어진 구조 위에 있어 일반 PCA로는 펼쳐지지 않는데, 비선형 성분을 뽑으려면 어떻게 하나요?
Choose a kernel such as the radial basis function, build the centred kernel matrix of all cases and take its leading eigenvectors as component scores. Compare the share of feature-space variance with linear PCA and check sensitivity to the kernel parameter gamma.
When to use Kernel PCA
- Structure in the data is non-linear, such as rings or curved manifolds.
- You want non-linear features for a later classifier or clustering.
- Linear PCA explains variance poorly on a known non-linear pattern.
When to use something else
- You need interpretable loadings for each variable; use Principal Component Analysis (PCA) instead.
- You mainly want a 2-D picture of local neighbourhoods; use t-SNE or UMAP instead.
Assumptions and requirements
- The kernel and its parameters (default gamma = 1/number of variables) suit the data.
- Variables are standardised by default.
- The kernel matrix is n by n, so the fit uses at most 2,000 cases.
What the analysis reports
- Eigenvalues and share of centred feature-space variance per component
- Cumulative share compared with linear PCA
- Pre-image reconstruction error (kernel ridge approximation)
- Score plot of the first two components
How to report it
Kernel PCA (RBF kernel, gamma = [value]) on [p] standardized variables (N = [n]) retained [k] components accounting for [pct]% of the centered feature-space variance.
Related methods
- Principal Component Analysis (PCA)
- Manifold Learning (Isomap, Locally Linear Embedding)
- UMAP Dimensionality Reduction
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Kernel PCA on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.