Пример #1
0
 def test_elbow_random_state_continuous(self):
     elbow_test_template.random_state_fixed(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                            1,
                                            10,
                                            True,
                                            random_state=5,
                                            repeat=10)
Пример #2
0
 def test_border_step_4(self):
     elbow_test_template.random_state_fixed(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                            1,
                                            9,
                                            False,
                                            kstep=4,
                                            random_state=1000)
Пример #3
0
 def test_elbow_random_state_random_initializer(self):
     elbow_test_template.random_state_fixed(
         SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
         1,
         10,
         True,
         random_state=5,
         initializer=random_center_initializer)
Пример #4
0
 def test_elbow_random_state(self):
     elbow_test_template.random_state_fixed(SIMPLE_SAMPLES.SAMPLE_SIMPLE1,
                                            1,
                                            10,
                                            True,
                                            random_state=5)