confusion function

Evaluate the Sparsity Estimation Based on Confusion Matrix