This class offloads it kernel computation to `sklearn.metrics.pairwise.pairwise_kernels`, just like most other kernel models. If you have a more efficient way of computing the kernel for multiple samples, then you can pass `metric="precomputed"` and pass the Gram matrix as `X`.