コード例 #1
0
 def testSimple13AnswerDistanceMatrixByCore(self):
     kmedoids_test_template.clustering_with_answer(
         SIMPLE_SAMPLES.SAMPLE_SIMPLE13,
         SIMPLE_ANSWERS.ANSWER_SIMPLE13,
         True,
         random_state=1000,
         data_type='distance_matrix')
コード例 #2
0
 def testSimple13AnswerByCore(self):
     kmedoids_test_template.clustering_with_answer(
         SIMPLE_SAMPLES.SAMPLE_SIMPLE13,
         SIMPLE_ANSWERS.ANSWER_SIMPLE13,
         True,
         random_state=1000)
コード例 #3
0
 def testSimple12Answer(self):
     kmedoids_test_template.clustering_with_answer(SIMPLE_SAMPLES.SAMPLE_SIMPLE12, SIMPLE_ANSWERS.ANSWER_SIMPLE12, False, random_state=1000)