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


Python syncnet_templates.SyncnetTestTemplates类代码示例

本文整理汇总了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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py

示例4: testConnectionApiByCore

 def testConnectionApiByCore(self):
     SyncnetTestTemplates.templateConnectionApi(conn_represent.MATRIX, True);
     SyncnetTestTemplates.templateConnectionApi(conn_represent.LIST, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:it_syncnet.py

示例5: testShowNetwork3DimensionByCore

 def testShowNetwork3DimensionByCore(self):
     SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, True);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:it_syncnet.py

示例7: testShowNetwork3DimensionMatrixRepr

 def testShowNetwork3DimensionMatrixRepr(self):
     SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, conn_represent.MATRIX, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:ut_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_syncnet.py

示例13: testConnectionApi

 def testConnectionApi(self):
     SyncnetTestTemplates.templateConnectionApi(conn_represent.MATRIX, False);
     SyncnetTestTemplates.templateConnectionApi(conn_represent.LIST, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:3,代码来源:ut_syncnet.py

示例14: testShowNetwork3DimensionListRepr

 def testShowNetwork3DimensionListRepr(self):
     SyncnetTestTemplates.templateShowNetwork(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, 1.0, conn_represent.LIST, False);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:ut_syncnet.py

示例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);
开发者ID:annoviko,项目名称:pyclustering,代码行数:2,代码来源:it_syncnet.py


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