calculate training kernel directly