A Non-generative Framework and Convex Relaxations for Unsupervised Learning