Loading...
Searching...
No Matches
RandomFourierFeatures.h File Reference

Random Fourier Features approximation for the squared exponential kernel. More...

#include <Eigen/Dense>
#include "../../backend/Macros.h"

Go to the source code of this file.

Classes

class  gpr::RandomFourierFeatures
 Random Fourier Features for SE kernel approximation. More...

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.

Detailed Description

Random Fourier Features approximation for the squared exponential kernel.

Approximates the SE kernel via random feature expansion: K(x,y) ~ phi(x)^T phi(y) where phi(x) = sqrt(2/D) * [cos(w_1^T x + b_1), ..., cos(w_D^T x + b_D)] with w_i ~ N(0, 1/l^2) and b_i ~ Uniform(0, 2*pi).

Ported from ChemGP (Rust) rff.rs.

Definition in file RandomFourierFeatures.h.