Esempio 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)
Esempio 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)
Esempio 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)
Esempio n. 4
0
 def test_clustering_sample_05(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE5, 1,
                                       True)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio n. 12
0
 def test_clustering_sample_02(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE2, 1,
                                       False)
Esempio 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)
Esempio n. 14
0
 def test_clustering_hepta_kmax_01(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       1,
                                       1,
                                       False,
                                       k_max=1)