Kernel Methods for Pattern Analysis