Multiclass learning for visual recognition