예제 #1
0
 def setUp(self):
     self.dataset = io_tools.read_dataset("data/train.txt",
                                          "data/image_data/")
     self.dataset = data_tools.preprocess_data(self.dataset, 'raw')
     self.model = support_vector_machine.SupportVectorMachine(
         8 * 8 * 3, 'zeros')
예제 #2
0
 def setUp(self):
     self.model = support_vector_machine.SupportVectorMachine(5, 'zeros')