Kernel MAP estimation