[scikit-learn] Rerunning Kmeans with Python

2020-10-04 Thread Stephen Malcolm
Hello all, I've written some code to run Kmeans on a data set (please see below). And I've plotted the results, with my two clusters/ centroids. However, I've to re-run Kmeans several times and pull up different plots (showing the different centroid positions). Can someone point me in the right

Re: [scikit-learn] Rerunning Kmeans with Python

2020-10-04 Thread Stephen Malcolm
i].set_title(f'{km.error:.4f}') ax[i].set_aspect('equal') plt.tight_layout(); Thanks... From: Stephen Malcolm Sent: 04 October 2020 21:14 To: scikit-learn@python.org Subject: Rerunning Kmeans with Python Hello all, I've written some code to run Kmeans