在看一些论文时,经常会看到关于must-link 与 cannot link 约束的一些相关工作介绍,特别是在聚类这个领域。
维基百科介绍:
A must-link constraint is used to specify that the two instances in the must-link relation should be associated with the same cluster. A cannot-link constraint is used to specify that the two instances in the cannot-link relation should not be associated with the same cluster.
must-link constraints:
必连约束, 是指样本必属于同一个簇。 如果2个样本满足必连约束,那么在聚类时这2个样本应该被分到同一个簇中。
cannot-link constraints:
勿连约束,是指样本不必属于同一个簇。 如果2个样本满足勿连约束,那么在聚类时这2个样本不应该被分到同一个簇中。
这2个约束一般作为成对约束来作为指导信息,在度量学习或者半监督聚类工作中比较常用。
矩阵分解
矩阵分解工作中也会出现这2个约束,如下图这个(在使用流行正则项时):

约束矩阵中的值对于不相似的对象是正<

博客介绍了must-link与cannot-link约束。must-link是必连约束,样本必属同一簇;cannot-link是勿连约束,样本不必属同一簇。二者常作为成对约束用于度量学习或半监督聚类,在矩阵分解工作中也会出现,还给出了相关示例。
最低0.47元/天 解锁文章
3万+





