Functional learning through kernels