Deducing Optimal Classification Algorithm for Heterogeneous Fabric