用svm对sklearn内置的手写体数字图像进行识别,很初级,但是不知道为什么报了failed to converge
识别不收敛是因为迭代次数不够,在LinearSVC函数里增加参数 max_iter=2000试试(默认为1000)
参考:https://blog.csdn.net/a954680384/article/details/88032760