from sklearn.datasets import make_blobs #调用生成数据函数 from sklearn.neighbors import KNeighborsClassifier #调用KNN分类器函数 import matplotlib.pyplot as plt import numpy as np from scipy.io import loadmat
c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\ipykernel_launcher.py:16: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.
app.launch_new_instance()