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


Python XmeansTestTemplates.templateLengthProcessData方法代码示例

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


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

示例1: testBicClusterAllocationSampleSimple1ByCore

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicClusterAllocationSampleSimple1ByCore(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, [[3.7, 5.5], [6.7, 7.5]], [5, 5], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_xmeans.py

示例2: testBicClusterAllocationMaxLessRealSampleSimple4

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicClusterAllocationMaxLessRealSampleSimple4(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, [[1.5, 4.0]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 2, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:ut_xmeans.py

示例3: testMndlClusterAllocationMaxLessRealSampleSimple4

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例4: testBicClusterAllocationMaxLessRealSampleSimple3

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例5: testMndlClusterAllocationSampleSimple3

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例6: testMndlClusterAllocationSampleSimple1

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例7: testBicWrongStartClusterAllocationSampleSimple2

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例8: testBicClusterAllocationSampleSimple6

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例9: testBicClusterAllocationSampleSimple9

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例10: testBicWrongStartClusterAllocationSampleSimple3ByCore

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicWrongStartClusterAllocationSampleSimple3ByCore(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [[0.2, 0.1], [4.0, 1.0], [5.9, 5.9]], [10, 10, 10, 30], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, True); 
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_xmeans.py

示例11: testMndlWrongStartClusterAllocationSampleSimple5

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 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,代码行数:4,代码来源:ut_xmeans.py

示例12: testMndlClusterAllocationSampleSimple2ByCore

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testMndlClusterAllocationSampleSimple2ByCore(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [[3.5, 4.8], [6.9, 7], [7.5, 0.5]], [10, 5, 8], splitting_type.MINIMUM_NOISELESS_DESCRIPTION_LENGTH, 20, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_xmeans.py

示例13: testBicMaxLessRealSampleSimple2ByCore

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicMaxLessRealSampleSimple2ByCore(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [[3.5, 4.8], [6.9, 7]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 2, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_xmeans.py

示例14: testBicClusterAllocationSampleSimple2ByCore

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicClusterAllocationSampleSimple2ByCore(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [[3.5, 4.8], [6.9, 7], [7.5, 0.5]], [10, 5, 8], splitting_type.BAYESIAN_INFORMATION_CRITERION, 20, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_xmeans.py

示例15: testBicSampleSimple1MaxLessReal

# 需要导入模块: from pyclustering.cluster.tests.xmeans_templates import XmeansTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.xmeans_templates.XmeansTestTemplates import templateLengthProcessData [as 别名]
 def testBicSampleSimple1MaxLessReal(self):
     XmeansTestTemplates.templateLengthProcessData(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, [[3.7, 5.5]], None, splitting_type.BAYESIAN_INFORMATION_CRITERION, 1, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:ut_xmeans.py


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