Kernel methods for regression and classification