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