Kernel-based pattern recognition in machine learning