Kernel methods and cones