Kernels on Attributed Pointsets with Applications