Setting up a color for each class of dataset generated by make_blobs

前端 未结 0 1176
梦毁少年i
梦毁少年i 2021-02-09 05:55

I am creating a series of datasets with make_blobs by changing the number of classes. I use plt.scatter to plot them. The color associated to all the data points is always black

相关标签:
回答
  • 消灭零回复
提交回复
热议问题