Convex Covariate Clustering for Classification