Functional learning through kernel