• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python agglomerative_templates.AgglomerativeTestTemplates类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: testClusteringSampleSimple1LinkCentroidByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例2: testClusterAllocationOneDimensionDataLinkComplete

 def testClusterAllocationOneDimensionDataLinkComplete(self):
     AgglomerativeTestTemplates.templateClusterAllocationOneDimensionData(type_link.COMPLETE_LINK, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例3: testClusteringSampleSimple3LinkCentroid

 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,代码行数:3,代码来源:ut_agglomerative.py


示例4: testClusteringSampleSimple4LinkCentroid

 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,代码行数:3,代码来源:ut_agglomerative.py


示例5: testTwoClusterAllocationTheSameObjectLinkSingle

 def testTwoClusterAllocationTheSameObjectLinkSingle(self):
     AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.SINGLE_LINK, False); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例6: testClusteringSampleSimple2LinkCentroid

 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,代码行数:3,代码来源:ut_agglomerative.py


示例7: testClusteringSampleSimple5LinkAverage

 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,代码行数:3,代码来源:ut_agglomerative.py


示例8: testTwoClusterAllocationTheSameObjectLinkCentroid

 def testTwoClusterAllocationTheSameObjectLinkCentroid(self):
     AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.CENTROID_LINK, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例9: testClusteringTheSameData1LinkSingleByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例10: testClusteringTheSameData2LinkCompleteByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例11: testClusteringTheSameData1LinkCentroidByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例12: testClusteringSampleSimple2LinkCompleteByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例13: testClusteringSampleSimple1LinkSingleByCore

 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,代码行数:3,代码来源:it_agglomerative.py


示例14: testClusterAllocationOneDimensionDataLinkSingle

 def testClusterAllocationOneDimensionDataLinkSingle(self):
     AgglomerativeTestTemplates.templateClusterAllocationOneDimensionData(type_link.SINGLE_LINK, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例15: testClusteringTheSameData1LinkComplete

 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,代码行数:3,代码来源:ut_agglomerative.py


示例16: testTwoClusterAllocationTheSameObjectsLinkAverage

 def testTwoClusterAllocationTheSameObjectsLinkAverage(self):
     AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.AVERAGE_LINK, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例17: testClusteringTheSameData2LinkCentroid

 def testClusteringTheSameData2LinkCentroid(self):
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 2, type_link.CENTROID_LINK, [5, 10], False);
     AgglomerativeTestTemplates.templateClusteringResults(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 1, type_link.CENTROID_LINK, [15], False); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:ut_agglomerative.py


示例18: testTwoClusterAllocationTheSameObjectLinkComplete

 def testTwoClusterAllocationTheSameObjectLinkComplete(self):
     AgglomerativeTestTemplates.templateClusterAllocationTheSameObjects(10, 2, type_link.COMPLETE_LINK, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_agglomerative.py


示例19: testClusteringTheSameData2LinkSingle

 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,代码行数:3,代码来源:ut_agglomerative.py


示例20: testClusteringSampleSimple1LinkComplete

 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,代码行数:3,代码来源:ut_agglomerative.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python kmeans_templates.KmeansTestTemplates类代码示例发布时间:2022-05-25
下一篇:
Python pyclbr.readmodule_ex函数代码示例发布时间:2022-05-25
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap