I am interested to know what this piece of code does, so I try to print it out by ending the last two lines of codes. But somehow nothing happen after I run it, do you know what did i do wrong?
make dataset for example
centers = [[-5, 2], [-2, -2], [1, 2], [5, -2]]
X_train, y_train = make_blobs(n_samples=200, centers=centers, cluster_std=1.0,random_state=30)
plt.scatter(X_train[:,0], X_train[:,1], c= y_train )
plt.show()