当前位置: 首页>>代码示例>>Python>>正文


Python AgglomerativeTestTemplates.templateClusteringResults方法代码示例

本文整理汇总了Python中pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates.templateClusteringResults方法的典型用法代码示例。如果您正苦于以下问题:Python AgglomerativeTestTemplates.templateClusteringResults方法的具体用法?Python AgglomerativeTestTemplates.templateClusteringResults怎么用?Python AgglomerativeTestTemplates.templateClusteringResults使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates的用法示例。


在下文中一共展示了AgglomerativeTestTemplates.templateClusteringResults方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: testClusteringSampleSimple2LinkCentroid

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple2LinkCentroid(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 3, type_link.CENTROID_LINK, [5, 8, 10], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, type_link.CENTROID_LINK, [23], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例2: testClusteringSampleSimple2LinkSingle

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple2LinkSingle(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 3, type_link.SINGLE_LINK, [5, 8, 10], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, type_link.SINGLE_LINK, [23], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例3: testClusteringThreeDimensionalData1LinkSingle

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringThreeDimensionalData1LinkSingle(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 2, type_link.SINGLE_LINK, [10, 10], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1, type_link.SINGLE_LINK, [20], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例4: testClusteringSampleSimple1LinkComplete

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple1LinkComplete(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, type_link.COMPLETE_LINK, [5, 5], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, type_link.COMPLETE_LINK, [10], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例5: testClusteringSampleSimple1LinkCentroidByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple1LinkCentroidByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, type_link.CENTROID_LINK, [5, 5], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, type_link.CENTROID_LINK, [10], True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例6: testClusteringTheSameData2LinkSingle

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringTheSameData2LinkSingle(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 2, type_link.SINGLE_LINK, [5, 10], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 1, type_link.SINGLE_LINK, [15], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例7: testClusteringSampleSimple5LinkAverage

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple5LinkAverage(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 4, type_link.AVERAGE_LINK, [15, 15, 15, 15], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 1, type_link.AVERAGE_LINK, [60], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例8: testClusteringSampleSimple4LinkCentroid

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple4LinkCentroid(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, 5, type_link.CENTROID_LINK, [15, 15, 15, 15, 15], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, 1, type_link.CENTROID_LINK, [75], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例9: testClusteringTheSameData1LinkSingleByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringTheSameData1LinkSingleByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 2, type_link.SINGLE_LINK, [10, 20], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 1, type_link.SINGLE_LINK, [30], True); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例10: testClusteringTheSameData2LinkCompleteByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringTheSameData2LinkCompleteByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 2, type_link.COMPLETE_LINK, [5, 10], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 1, type_link.COMPLETE_LINK, [15], True); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例11: testClusteringTheSameData1LinkCentroidByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringTheSameData1LinkCentroidByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 2, type_link.CENTROID_LINK, [10, 20], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 1, type_link.CENTROID_LINK, [30], True); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例12: testClusteringSampleSimple2LinkCompleteByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple2LinkCompleteByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 3, type_link.COMPLETE_LINK, [5, 8, 10], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, type_link.COMPLETE_LINK, [23], True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例13: testClusteringSampleSimple1LinkSingleByCore

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple1LinkSingleByCore(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, type_link.SINGLE_LINK, [5, 5], True);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, type_link.SINGLE_LINK, [10], True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_agglomerative.py

示例14: testClusteringSampleSimple3LinkCentroid

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringSampleSimple3LinkCentroid(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 4, type_link.CENTROID_LINK, [10, 10, 10, 30], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 1, type_link.CENTROID_LINK, [60], False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py

示例15: testClusteringTheSameData1LinkComplete

# 需要导入模块: from pyclustering.cluster.tests.agglomerative_templates import AgglomerativeTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates import templateClusteringResults [as 别名]
 def testClusteringTheSameData1LinkComplete(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 2, type_link.COMPLETE_LINK, [10, 20], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 1, type_link.COMPLETE_LINK, [30], False); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_agglomerative.py


注:本文中的pyclustering.cluster.tests.agglomerative_templates.AgglomerativeTestTemplates.templateClusteringResults方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。