QUFFKA — QUadrature-based Features For Kernel Approximation. It applies simple quadrature rules to generate random features for kernel approximation.
Clone and install:
$ cd quffka
$ pip install .Three simple steps to kernel approximation:
To prepare datasets, run:
$ ./download_datasets.sh
$ cook-datasetsTo run kernel approximation (beware long computations! First please see examples), run:
$ approximate-kernelsTo compare how fast explicit mapping is computed, run:
$ measure-time