Semi-Unsupervised learning - kmeans
Given data that contain n vector (m×1 each). I want to cluster the data based on distance. Also, each vector in the data is labeled to some category. I used kmeans algorithm (in Matlab) to cluster the data. I want that non of the clusters will include data from only one category. There is any way to add this constraint, or any algorithm that could do it? Thanks!
Topic matlab clustering machine-learning
Category Data Science