本文整理匯總了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)