本文整理汇总了Python中pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates类的典型用法代码示例。如果您正苦于以下问题:Python SyncnetTestTemplates类的具体用法?Python SyncnetTestTemplates怎么用?Python SyncnetTestTemplates使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SyncnetTestTemplates类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testClusteringSampleElongateByCore
def testClusteringSampleElongateByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_ELONGATE, 0.5, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, None, [135, 20], True);
示例2: testProcessingWhenLibraryCoreCorrupted
def testProcessingWhenLibraryCoreCorrupted(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, None, [5, 5], True);
示例3: testClusteringSampleSimple5ByCore
def testClusteringSampleSimple5ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, None, [15, 15, 15, 15], True);
示例4: testConnectionApiByCore
def testConnectionApiByCore(self):
SyncnetTestTemplates.templateConnectionApi(conn_represent.MATRIX, True);
SyncnetTestTemplates.templateConnectionApi(conn_represent.LIST, True);
示例5: testShowNetwork3DimensionByCore
def testShowNetwork3DimensionByCore(self):
SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, True);
示例6: testClusterAllocationConnWeightSampleSimple2ByCore
def testClusterAllocationConnWeightSampleSimple2ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 2, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, True, 0.05, None, [5, 8, 10], True);
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 10, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, True, 0.05, None, [23], True);
示例7: testShowNetwork3DimensionMatrixRepr
def testShowNetwork3DimensionMatrixRepr(self):
SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, conn_represent.MATRIX, False);
示例8: testClusterAllocationConnWeightSampleSimple2
def testClusterAllocationConnWeightSampleSimple2(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 2, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, True, 0.05, conn_represent.MATRIX, [5, 8, 10], False);
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 10, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, True, 0.05, conn_represent.MATRIX, [23], False);
示例9: testClusteringRandomInitialSampleSimple2ByCore
def testClusteringRandomInitialSampleSimple2ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, False, False, 0.05, None, [5, 8, 10], True);
示例10: testClusteringSampleSimple5
def testClusteringSampleSimple5(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, conn_represent.MATRIX, [15, 15, 15, 15], False);
示例11: testClusterAllocationHighToleranceSampleSimple5
def testClusterAllocationHighToleranceSampleSimple5(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 0.7, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 2 * pi, conn_represent.MATRIX, [60], False);
示例12: testClusteringSampleSimple3ListRepr
def testClusteringSampleSimple3ListRepr(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, conn_represent.LIST, [10, 10, 10, 30], False);
示例13: testConnectionApi
def testConnectionApi(self):
SyncnetTestTemplates.templateConnectionApi(conn_represent.MATRIX, False);
SyncnetTestTemplates.templateConnectionApi(conn_represent.LIST, False);
示例14: testShowNetwork3DimensionListRepr
def testShowNetwork3DimensionListRepr(self):
SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, conn_represent.LIST, False);
示例15: testClusterAllocationHighToleranceSampleSimple5ByCore
def testClusterAllocationHighToleranceSampleSimple5ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 0.7, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 2 * pi, None, [60], True);