Two-Tier Ensemble Model for Classification