Frame Kernels for Learning