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