A Classification Methodology Based on Subspace Graphs Learning