import matplotlib import matplotlib.pyplot as plt #from sklearn.datasets import fetch_mldata #sklearn 没有fetch_mldata了,在网上查到可以导入fetch_openml from sklearn.datasets import fetch_openml from sklearn.decomposition import PCAmnist=fetch_openml('mnist_784') x=mnist["data"] y=mnist["targe...