1.make_bolbs() 函数 from sklearn.datasets.samples_generator import make_blobs import numpy as np import matplotlib.pyplot as plt X , y = make_blobs(n_samples=1000 , n_features= 2 ,centers=[[-1,-1],[0,0],[1,1],[2,2]],cluster_std=[0.4,0.3,0.3,0.4],random…