本文整理汇总了Python中pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects方法的典型用法代码示例。如果您正苦于以下问题:Python AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects方法的具体用法?Python AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects怎么用?Python AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates
的用法示例。
在下文中一共展示了AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testTwoClusterAllocationTheSameObjectLinkSingle
# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusterAllocationTheSameObjects [as 别名]
def testTwoClusterAllocationTheSameObjectLinkSingle(self):
AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.SINGLE_LINK, False);
示例2: testTwoClusterAllocationTheSameObjectLinkCentroid
# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusterAllocationTheSameObjects [as 别名]
def testTwoClusterAllocationTheSameObjectLinkCentroid(self):
AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.CENTROID_LINK, False);
示例3: testTwoClusterAllocationTheSameObjectLinkComplete
# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusterAllocationTheSameObjects [as 别名]
def testTwoClusterAllocationTheSameObjectLinkComplete(self):
AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.COMPLETE_LINK, False);
示例4: testTwoClusterAllocationTheSameObjectsLinkAverage
# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusterAllocationTheSameObjects [as 别名]
def testTwoClusterAllocationTheSameObjectsLinkAverage(self):
AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.AVERAGE_LINK, False);