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 个)

类别

Help CenterFile Exchange 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by