使用sklearn-SGDClassifier分类mnist数据集中‘5‘,并使用交叉验证评估模型
importnumpyasnpimportmatplotlib.pyplotaspltfromsklearn.datasetsimportfetch_openmlfromsklearn.linear_modelimportSGDClassifierfromsklearn.model_selectionimportcross_val_scoremnist=fetch_openml('mnist_78