machine-learning Definition Kernel Matrix The kernel matrix of a kernel k(⋅,⋅) is the Gram matrix: Kij=k(xi,xj)