kernelized version of a statistical model based on the Euclidean inner product, via the "kernel trick"