Sparsity-driven weighted ensemble classifier