Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Random Fourier Features #48

@kskyten

Description

@kskyten

Random Fourier features is a technique for approximating inner products in the RKHS using a randomized feature map. It would be great to have this in MLKernels.

Here's a paper introducing them:
Random Features for Large-Scale Kernel Machines

A blog post demonstrating their use:
Random Fourier Features for Kernel Density Estimation

The kernel being approximated needs to have some specific properties. Mainly it needs to be stationary (shift-invariant) and scaled properly.

I need to look into this a bit more, but it seems like it might not be too difficult to implement. The main part being a function spectraldensity, which takes a kernel as an argument and returns a distribution to sample from.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions