On the Dual Formulation of Boosting Algorithms