本文整理汇总了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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)