Minimal Sample Subspace Learning: Theory and Algorithms