解决 Python bug:make_moons() takes from 0 to 1 positional arguments but 3 were given
importnumpyasnpimportmatplotlib.pyplotaspltfrommatplotlib.colorsimportListedColormapfromsklearnimportneighbors,datasetsnp.random.seed(2017)#Setrandomseedsoresultsarerepeatabl