Kernel parameters (gaussian, linear combination, polynomial) can be learnt through the use of the partial function.