Nystroem Kernel Approximation (Kernel Ridge)
The Nystroem method approximates a large kernel matrix from a small set of landmark rows, giving an explicit feature map whose inner products reproduce the kernel approximately. Kernel methods then cost far less time and memory on large data.
니스트룀 방법은 큰 커널 행렬을 적은 수의 기준점 행으로 근사해, 내적이 커널을 거의 그대로 재현하는 명시적 특성 사상을 만듭니다. 그러면 큰 자료에서도 커널 방법을 훨씬 적은 시간과 메모리로 쓸 수 있습니다.
How many landmarks do I need for a kernel model to be almost as accurate as the exact one, and how much time does it save?
커널 모형이 정확한 해와 거의 같은 정확도를 내려면 기준점이 몇 개 필요하고, 시간은 얼마나 줄어드는지 알고 싶습니다.
The method approximates the Gaussian (RBF) kernel with m landmark rows for each m in a grid, fits kernel ridge regression or regularised least-squares classification on the approximate features, and reports held-out accuracy, the relative error of the kernel approximation and fit times, next to the exact kernel solution when the training part is small enough.
When to use Nystroem Kernel Approximation (Kernel Ridge)
- An exact kernel method is too slow or too large for your number of rows.
- You want to choose the number of landmarks by its effect on accuracy.
- You want nonlinear regression or classification with a ridge penalty.
When to use something else
- You want margin-based classification with support vectors: use Support Vector Machine (SVM and SVR)
- You need predictive uncertainty from a kernel model: use Gaussian Process Regression
- You only need a nonlinear projection for visualisation: use Kernel PCA
Assumptions and requirements
- Uniformly sampled landmarks represent the data
- Features are on comparable scales (they are standardised)
- Independent rows
What the analysis reports
- Relative Frobenius error of the kernel approximation for each number of landmarks
- Held-out RMSE and R squared, or accuracy
- Fit times
- Exact kernel ridge results when feasible
How to report it
With m = [value] landmarks the kernel was approximated with a relative error of [value], and kernel ridge reached test R squared = [value] against [value] for the exact solution.
Related methods
- Support Vector Machine (SVM and SVR)
- Gaussian Process Regression
- Kernel PCA
- Import Vector Machine (Sparse Kernel Logistic Regression)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Nystroem Kernel Approximation (Kernel Ridge) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and 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
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.