xgboost 可以处理多分类问题,像在手写数字识别中0-9 ,10种不同的答案。 在手写数字识别中是需要将模型改成多分类既可以'objective': 'multi:softmax', 'num_class':10, 在这种模型中识别率达到了95% 左右,相比别的一些深度学习的可以达到0.99 https://www.nowcoder.com/questionTerminal/95ede35ae3cd483baabb1f3f258f1198?orderByHotValue=1&questionTypes=000001&page=1&onlyReference=false 点击此链接可以下载数据集