Fast training of multi-class support vector machines