The kernel ridge regression estimator is
By the representer theorem, . If , substitution and differentiation give
Thus
The matrix is the kernel-ridge hat matrix.