The discriminating power of random features