Ejemplo n.º 1
0
 def test_clustering_hepta_kmax_01_rnd_1024(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       1,
                                       1,
                                       True,
                                       k_max=1,
                                       random_state=1024)
Ejemplo n.º 2
0
 def test_clustering_hepta_kmax_10(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       7,
                                       1,
                                       True,
                                       k_max=10,
                                       random_state=1)
Ejemplo n.º 3
0
 def test_clustering_hepta_kmax_09(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       7,
                                       1,
                                       False,
                                       k_max=9,
                                       random_state=1000)
Ejemplo n.º 4
0
 def test_clustering_sample_05(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE5, 1,
                                       True)
Ejemplo n.º 5
0
 def test_clustering_sample_03_kmax_1(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [60],
                                       1,
                                       True,
                                       k_max=1)
Ejemplo n.º 6
0
 def test_clustering_sample_02_kmax_2(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                       [8, 15],
                                       1,
                                       True,
                                       k_max=2)
Ejemplo n.º 7
0
 def test_clustering_sample_02_kmax_correct(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE2,
                                       1,
                                       True,
                                       k_max=3)
Ejemplo n.º 8
0
 def test_clustering_sample_01_kmax_10(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE1,
                                       1,
                                       True,
                                       k_max=10)
Ejemplo n.º 9
0
 def test_clustering_sample_03_kmax_1(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [60],
                                       1,
                                       False,
                                       k_max=1,
                                       random_state=1000)
Ejemplo n.º 10
0
 def test_clustering_sample_03(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE3,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE3,
                                       1,
                                       False,
                                       random_state=1000)
Ejemplo n.º 11
0
 def test_clustering_sample_02_kmax_1(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [23],
                                       1,
                                       False,
                                       k_max=1)
Ejemplo n.º 12
0
 def test_clustering_sample_02(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE2, 1,
                                       False)
Ejemplo n.º 13
0
 def test_clustering_sample_01_kmax_correct(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE1,
                                       1,
                                       False,
                                       k_max=2)
Ejemplo n.º 14
0
 def test_clustering_hepta_kmax_01(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       1,
                                       1,
                                       False,
                                       k_max=1)