Multi-feature classification algorithm