Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经编写了一个聚类算法,现在我需要在算法的每次迭代中可视化聚类分配。具体来说,我需要根据用户首先确定的集群数量生成随机颜色,并根据它们所属的集群为每个集群分配颜色并在每次迭代中绘制数据点。我应该怎么做?谢谢