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

Python xmeans_templates.XmeansTestTemplates类代码示例

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

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



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

示例1: testMndlWrongStartClusterAllocationSampleSimple5

 def testMndlWrongStartClusterAllocationSampleSimple5(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, [[0.0, 1.0], [0.0, 0.0]], [15, 15, 15, 15], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例2: testBicClusterAllocationMaxLessRealSampleSimple4

 def testBicClusterAllocationMaxLessRealSampleSimple4(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, [[1.5, 4.0]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 2, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例3: testMndlClusterAllocationMaxLessRealSampleSimple4

 def testMndlClusterAllocationMaxLessRealSampleSimple4(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, [[1.5, 4.0]], None, splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 2, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例4: testBicClusterAllocationMaxLessRealSampleSimple3

 def testBicClusterAllocationMaxLessRealSampleSimple3(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [[4.0, 1.0], [2.0, 2.0], [2.3, 3.9]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 3, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例5: testMndlClusterAllocationSampleSimple3

 def testMndlClusterAllocationSampleSimple3(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [[0.2, 0.1], [4.0, 1.0], [2.0, 2.0], [2.3, 3.9]], [10, 10, 10, 30], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例6: testMndlClusterAllocationSampleSimple1

 def testMndlClusterAllocationSampleSimple1(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, [[3.7, 5.5], [6.7, 7.5]], [5, 5], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例7: testBicWrongStartClusterAllocationSampleSimple2

 def testBicWrongStartClusterAllocationSampleSimple2(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [[3.5, 4.8], [6.9, 7]], [10, 5, 8], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例8: testMndlClusterAllocationSampleTwoDiamonds

 def testMndlClusterAllocationSampleTwoDiamonds(self):
     XmeansTestTemplates.templateLengthProcessData(FCPS_SAMPLES.SAMPLE_TWO_DIAMONDS, [[0.8, 0.2], [3.0, 0.0]], [400, 400], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例9: testMathErrorDomainBic

 def testMathErrorDomainBic(self):
     # This is test for bug that was found in #407: 0.0 under logarithm function.
     XmeansTestTemplates.templateLengthProcessData([[0], [0], [10], [10], [20], [20]], [[5], [20]], [2, 2, 2], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:ut_xmeans.py


示例10: testBicClusterAllocationSampleSimple10WithoutInitial

 def testBicClusterAllocationSampleSimple10WithoutInitial(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE10, None, [11, 11, 11], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例11: testBicWrongStartClusterAllocationSampleTwoDiamonds

 def testBicWrongStartClusterAllocationSampleTwoDiamonds(self):
     XmeansTestTemplates.templateLengthProcessData(FCPS_SAMPLES.SAMPLE_TWO_DIAMONDS, [[0.8, 0.2]], [400, 400], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例12: testBicClusterAllocationSampleSimple10

 def testBicClusterAllocationSampleSimple10(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE10, [[0.0, 0.3], [4.5, 3.4], [10.1, 10.6]], [11, 11, 11], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例13: testBicClusterAllocationSampleSimple9

 def testBicClusterAllocationSampleSimple9(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, [[3.0], [6.0]], [10, 20], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例14: testBicClusterAllocationSampleSimple6

 def testBicClusterAllocationSampleSimple6(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE6, [[3.5, 3.5], [3.7, 3.7]], [20, 21], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例15: testBicSampleSimple1MaxLessReal

 def testBicSampleSimple1MaxLessReal(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, [[3.7, 5.5]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 1, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例16: testMathErrorDomainMndl

 def testMathErrorDomainMndl(self):
     XmeansTestTemplates.templateLengthProcessData([[0], [0], [10], [10], [20], [20]], [[5], [20]], [2, 2, 2], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例17: testBicWrongStartClusterAllocationSampleSimple1

 def testBicWrongStartClusterAllocationSampleSimple1(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, [[3.7, 5.5]], [5, 5], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例18: testClusterAllocationOneDimensionData

 def testClusterAllocationOneDimensionData(self):
     XmeansTestTemplates.templateClusterAllocationOneDimensionData(False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例19: testMndlSampleSimple1WithoutInitialCenters

 def testMndlSampleSimple1WithoutInitialCenters(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, None, [5, 5], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py


示例20: testKmax05Amount3Offset02Initial01

 def testKmax05Amount3Offset02Initial01(self):
     XmeansTestTemplates.templateMaxAllocatedClusters(False, 10, 3, 2, 1, 2)
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_xmeans.py



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
Python nnet.network函数代码示例发布时间:2022-05-25
下一篇:
Python syncnet_templates.SyncnetTestTemplates类代码示例发布时间: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