Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #4
0
 def test_clustering_sample_05(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE5,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE5, 1,
                                       True)
Beispiel #5
0
 def test_clustering_sample_03_kmax_1(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, [60],
                                       1,
                                       True,
                                       k_max=1)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #11
0
 def test_clustering_sample_02_kmax_1(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2, [23],
                                       1,
                                       False,
                                       k_max=1)
Beispiel #12
0
 def test_clustering_sample_02(self):
     gmeans_test_template().clustering(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                       SIMPLE_ANSWERS.ANSWER_SIMPLE2, 1,
                                       False)
Beispiel #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)
Beispiel #14
0
 def test_clustering_hepta_kmax_01(self):
     gmeans_test_template().clustering(FCPS_SAMPLES.SAMPLE_HEPTA,
                                       1,
                                       1,
                                       False,
                                       k_max=1)