support multi class classification by binary classification