本文整理汇总了Python中pyclustering.nnet.tests.som_templates.SomTestTemplates类的典型用法代码示例。如果您正苦于以下问题:Python SomTestTemplates类的具体用法?Python SomTestTemplates怎么用?Python SomTestTemplates使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SomTestTemplates类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testSimulateCheckWinnerGridFourStoreLoad
def testSimulateCheckWinnerGridFourStoreLoad(self):
SomTestTemplates.templateTestSimulate(type_conn.grid_four, False, store_load=True)
示例2: testFourNeuronsFourClustersByCore
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)
示例3: testAutostopSevenNeuronsHeptaClustersByCore
def testAutostopSevenNeuronsHeptaClustersByCore(self):
SomTestTemplates.templateTestAwardNeurons(FCPS_SAMPLES.SAMPLE_HEPTA, 1, 7, 100, [30, 30, 30, 30, 30, 30, 32], True, True)
示例4: testProcessingWhenLibraryCoreCorrupted
def testProcessingWhenLibraryCoreCorrupted(self):
SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 100, [5, 5], False, True)
示例5: testAutostopTwoNeuronsTwoClustersByCoreStoreLoad
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)
示例6: testSimulateCheckWinnerGridEightByCore
def testSimulateCheckWinnerGridEightByCore(self):
SomTestTemplates.templateTestSimulate(type_conn.grid_eight, True)
示例7: testSimulateCheckWinnerHoneycombByCore
def testSimulateCheckWinnerHoneycombByCore(self):
SomTestTemplates.templateTestSimulate(type_conn.honeycomb, True)
示例8: testAutostopFourNeuronsFourClusters
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)
示例9: testTwoNeuronsFourClusters
def testTwoNeuronsFourClusters(self):
SomTestTemplates.templateTestAwardNeurons(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 1, 2, 100, [30, 30], False, False)
示例10: testAutostopTwoNeuronsTwoClusters
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: testThreeNeuronsThreeClusters
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)
示例12: testTwoNeuronsTwoClustersStoreLoad
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)
示例13: testSimulateCheckWinnerHoneycomb
def testSimulateCheckWinnerHoneycomb(self):
SomTestTemplates.templateTestSimulate(type_conn.honeycomb, False)
示例14: testSimulateCheckWinnerGridEight
def testSimulateCheckWinnerGridEight(self):
SomTestTemplates.templateTestSimulate(type_conn.grid_eight, False)
示例15: testSimulateCheckWinnerFuncNeighborByCoreStoreLoad
def testSimulateCheckWinnerFuncNeighborByCoreStoreLoad(self):
SomTestTemplates.templateTestSimulate(type_conn.func_neighbor, True, store_load=True)