예제 #1
0
 def test_elbow_simple_02_step_4(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                         None,
                                         1,
                                         10,
                                         False,
                                         kstep=4)
예제 #2
0
 def test_elbow_simple_02_step_2(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE2,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE2,
                                         1,
                                         10,
                                         False,
                                         kstep=2)
예제 #3
0
 def test_elbow_simple_01_step_3(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                         4,
                                         1,
                                         10,
                                         False,
                                         kstep=3)
예제 #4
0
 def test_elbow_simple_15(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE15,
                                         5,
                                         1,
                                         20,
                                         False,
                                         kstep=2)
예제 #5
0
 def test_border_step_1(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE1,
                                         1,
                                         3,
                                         False,
                                         kstep=1,
                                         random_state=1000)
예제 #6
0
 def test_elbow_simple_03_random_initializer(self):
     elbow_test_template.calculate_elbow(
         SIMPLE_SAMPLES.SAMPLE_SIMPLE3,
         SIMPLE_ANSWERS.ANSWER_SIMPLE3,
         1,
         10,
         False,
         initializer=random_center_initializer)
예제 #7
0
 def test_elbow_three_dimensional_simple_11(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE11,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE11, 1,
                                         10, False)
예제 #8
0
 def test_elbow_one_dimensional_simple_09(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE9,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE9, 1,
                                         10, False)
예제 #9
0
 def test_elbow_simple_10(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE10,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE10, 1,
                                         10, True)
예제 #10
0
 def test_elbow_one_dimensional_simple_07(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE7,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE7, 1,
                                         10, True)
예제 #11
0
 def test_elbow_three_dimensional_simple_11(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE11, SIMPLE_ANSWERS.ANSWER_SIMPLE11, 1, 10, True)
예제 #12
0
 def test_elbow_one_dimensional_simple_09(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE9, SIMPLE_ANSWERS.ANSWER_SIMPLE9, 1, 10, True)
예제 #13
0
 def test_elbow_simple_03_random_initializer(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE3, SIMPLE_ANSWERS.ANSWER_SIMPLE3, 1, 10, True, initializer=random_center_initializer)
예제 #14
0
 def test_elbow_tetra(self):
     elbow_test_template.calculate_elbow(FCPS_SAMPLES.SAMPLE_TETRA, None, 1,
                                         25, True)
예제 #15
0
 def test_elbow_hepta(self):
     elbow_test_template.calculate_elbow(FCPS_SAMPLES.SAMPLE_HEPTA, None, 1,
                                         20, True)
예제 #16
0
 def test_elbow_simple_01_step_4(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 5, 1, 10, True, kstep=4)
예제 #17
0
 def test_elbow_simple_12(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE12,
                                         SIMPLE_ANSWERS.ANSWER_SIMPLE12, 1,
                                         10, False)
예제 #18
0
 def test_elbow_simple_12(self):
     elbow_test_template.calculate_elbow(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, SIMPLE_ANSWERS.ANSWER_SIMPLE12, 1, 10, True)