Edit k-means by inserting a condition on the merge
1 次查看(过去 30 天)
显示 更早的评论
Hello Matlab's community,
I would like to edit k-means clustering algorithm in order to add a check before the merge of an observation into a cluster.
In particular, I have a NxN matrix where "N" is the number of input database's observations. Within this matrix there is the value "+1" when the two observations are "linked", and "0" otherwise. In this situation, the k-means clustering algorithm should join an observation into a cluster if and only if: there is at least one observation inside the arrival cluster which is "linked", namely has the value "+1" in the aforementioned matrix", with the observation in question.
I will appreciate any advise
Thanks!
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!