Random Fourier Features Kernel Approximation
Random Fourier features replace a Gaussian kernel with an explicit map of cosine features built from random frequencies, so that inner products of the features approximate the kernel. A linear model on these features then behaves like a kernel method but scales to many rows.
랜덤 푸리에 특성은 가우스 커널을 무작위 진동수로 만든 코사인 특성의 명시적 사상으로 바꿔, 특성의 내적이 커널을 근사하게 합니다. 이 특성에 선형 모형을 맞추면 커널 방법처럼 작동하면서도 많은 행에 쓸 수 있습니다.
Can I get the flexibility of a Gaussian kernel model on a large data set, and how close is the random-feature approximation to the exact kernel?
큰 자료에서 가우스 커널 모형의 유연성을 얻을 수 있는지, 무작위 특성 근사가 정확한 커널과 얼마나 가까운지 알고 싶습니다.
The method draws random frequencies and phases, maps standardised features to cosine features, fits ridge regression (numeric outcome) or penalised logistic regression (classes), and measures the kernel approximation error on up to 500 rows. Held-out performance is compared with a linear model and, for moderate numeric data, with exact kernel ridge regression.
When to use Random Fourier Features Kernel Approximation
- Exact kernel methods are too slow for the number of rows.
- Relationships are smooth but nonlinear.
- You want to see how many random features are needed for a good approximation.
When to use something else
- The data are small enough for an exact kernel model: use Support Vector Machine
- You need a nonparametric fit with uncertainty: use Gaussian Process Regression
- You want nonlinear components rather than prediction: use Kernel PCA
Assumptions and requirements
- A shift-invariant Gaussian kernel suits the standardised features
- Enough random features for the approximation
- Independent rows
What the analysis reports
- Kernel approximation errors
- Held-out R squared and RMSE, or accuracy and AUC
- Linear and exact-kernel comparators
How to report it
Random Fourier features (D = [value]) approximated the Gaussian kernel with mean absolute error [value]; held-out R squared was [value] against [value] for linear ridge.
Related methods
- Support Vector Machine
- Gaussian Process Regression
- Kernel PCA
- Extreme Learning Machine
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Random Fourier Features Kernel Approximation 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.