Extension kernels for scikit-learn