If you run K-Means with wrong values of K, you will get completely misleading clusters. For example, if you run K-Means on this with values 2, 4, 5 and 6, you will get the following clusters. Now we will see how to implement K-Means Clustering using scikit-learn. The scikit-learn approach Example 1. We will use the same dataset in this example.
The Matlab files have already been uploaded to GitHub, and the wiki modifies to explain the baseline correction procedure. Additional modifications will be done in the following week to i ) reduce the size of the original file, ii ) run a simple centroid algorithm and iii ) obtain the pure ion profiles with ad-hoc analysis tools.