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


Python SomTestTemplates.templateTestAwardNeurons方法代码示例

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


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

示例1: testAutostopFourNeuronsSquareClustersByCore

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopFourNeuronsSquareClustersByCore(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 2, 2, 100, [15, 15, 15, 15], True, True)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 1, 4, 100, [15, 15, 15, 15], True, True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_som.py

示例2: testOneDimensionSampleSimple7ClusterByCore

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testOneDimensionSampleSimple7ClusterByCore(self):
     parameters = som_parameters()
     parameters.init_type = type_init.random_surface
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE7, 2, 1, 100, [10, 10], True, True, parameters)
开发者ID:annoviko,项目名称:pyclustering,代码行数:6,代码来源:it_som.py

示例3: testTwoNeuronsTwoDiamondsClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testTwoNeuronsTwoDiamondsClusters(self):
     SomTestTemplates.templateTestAwardNeurons(FCPS_SAMPLES.SAMPLE_TWO_DIAMONDS, 1, 2, 100, [400, 400], False, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:ut_som.py

示例4: testAutostopFiveNeuronsFiveClustersByCore

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopFiveNeuronsFiveClustersByCore(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, 1, 5, 100, [15, 15, 15, 15, 15], True, True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_som.py

示例5: testFourNeuronsFourClustersByCore

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testFourNeuronsFourClustersByCore(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 1, 4, 100, [10, 10, 10, 30], False, True)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 2, 2, 100, [10, 10, 10, 30], False, True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_som.py

示例6: testAutostopSevenNeuronsHeptaClustersByCore

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopSevenNeuronsHeptaClustersByCore(self):
     SomTestTemplates.templateTestAwardNeurons(FCPS_SAMPLES.SAMPLE_HEPTA, 1, 7, 100, [30, 30, 30, 30, 30, 30, 32], True, True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_som.py

示例7: testThreeNeuronsThreeClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testThreeNeuronsThreeClusters(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 3, 100, [5, 8, 10], False, False)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 3, 1, 100, [5, 8, 10], False, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_som.py

示例8: testAutostopTwoNeuronsTwoClustersByCoreStoreLoad

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopTwoNeuronsTwoClustersByCoreStoreLoad(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 100, [5, 5], True, True, store_load=True)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, 1, 100, [5, 5], True, True, store_load=True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:it_som.py

示例9: testTwoNeuronsTwoClustersStoreLoad

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testTwoNeuronsTwoClustersStoreLoad(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 100, [5, 5], False, False, store_load=True)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, 1, 100, [5, 5], False, False, store_load=True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_som.py

示例10: testAutostopTwoNeuronsTwoClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopTwoNeuronsTwoClusters(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 100, [5, 5], True, False)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 2, 1, 100, [5, 5], True, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_som.py

示例11: testHighEpochs

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testHighEpochs(self):
     epochs = 1000
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, epochs, [5, 5], False, False)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 2, 2, epochs, [10, 10, 10, 30], False, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:6,代码来源:ut_som.py

示例12: testFourNeuronsSquareClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testFourNeuronsSquareClusters(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 2, 2, 100, [15, 15, 15, 15], False, False)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 1, 4, 100, [15, 15, 15, 15], False, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_som.py

示例13: testFiveNeuronsFiveClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testFiveNeuronsFiveClusters(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE4, 1, 5, 100, [15, 15, 15, 15, 15], False, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:ut_som.py

示例14: testProcessingWhenLibraryCoreCorrupted

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testProcessingWhenLibraryCoreCorrupted(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 100, [5, 5], False, True)
开发者ID:annoviko,项目名称:pyclustering,代码行数:4,代码来源:it_som.py

示例15: testAutostopFourNeuronsFourClusters

# 需要导入模块: from pyclustering.nnet.tests.som_templates import SomTestTemplates [as 别名]
# 或者: from pyclustering.nnet.tests.som_templates.SomTestTemplates import templateTestAwardNeurons [as 别名]
 def testAutostopFourNeuronsFourClusters(self):
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 1, 4, 100, [10, 10, 10, 30], True, False)
     SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 2, 2, 100, [10, 10, 10, 30], True, False)
开发者ID:annoviko,项目名称:pyclustering,代码行数:5,代码来源:ut_som.py


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