Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I update my question, I wrote something wrong and I correct it. I know that the k-means are unsupervised learning method. but I want to use it with supervised data.