本文整理汇总了Python中pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates.templateClustering方法的典型用法代码示例。如果您正苦于以下问题:Python SyncnetTestTemplates.templateClustering方法的具体用法?Python SyncnetTestTemplates.templateClustering怎么用?Python SyncnetTestTemplates.templateClustering使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates
的用法示例。
在下文中一共展示了SyncnetTestTemplates.templateClustering方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testClusterAllocationConnWeightSampleSimple2ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例2: testClusteringWithoutDynamicCollectingSampleSimple2ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
def testClusteringWithoutDynamicCollectingSampleSimple2ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, False, False, 0.05, conn_represent.MATRIX, [5, 8, 10], True);
示例3: testClusterAllocationHighToleranceSampleSimple5ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例4: testClusteringTheSameData2ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
def testClusteringTheSameData2ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, conn_represent.MATRIX, [5, 5, 5], True);
示例5: testClusteringSampleSimple5ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例6: testClusteringSampleElongateByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例7: testClusteringOneDimensionDataSampleSimple9ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
def testClusteringOneDimensionDataSampleSimple9ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, 2, 0.999, solve_type.FAST, initial_type.EQUIPARTITION, True, False, 0.05, conn_represent.MATRIX, [20, 10], True);
示例8: testProcessingWhenLibraryCoreCorrupted
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例9: testClusteringRandomInitialSampleSimple2ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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: testClusteringSolverRKF45SampleSimple1ByCore
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
def testClusteringSolverRKF45SampleSimple1ByCore(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 0.999, solve_type.RKF45, initial_type.RANDOM_GAUSSIAN, True, False, 0.05, conn_represent.MATRIX, [5, 5], True);
示例11: testClusterAllocationConnWeightSampleSimple2
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例12: testClusterAllocationHighToleranceSampleSimple5
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例13: testClusteringSampleSimple5
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例14: testClusteringSampleSimple3ListRepr
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
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);
示例15: testClusteringRandomInitialSampleSimple2
# 需要导入模块: from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates [as 别名]
# 或者: from pyclustering.cluster.tests.syncnet_templates.SyncnetTestTemplates import templateClustering [as 别名]
def testClusteringRandomInitialSampleSimple2(self):
SyncnetTestTemplates.templateClustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 0.999, solve_type.FAST, initial_type.RANDOM_GAUSSIAN, False, False, 0.05, conn_represent.MATRIX, [5, 8, 10], False);