Beispiel #1
0
 def init_data_reading_test(self, data_spec):
     dataset, dataset_args = read_data_args(data_spec)
     self.test_sets, self.test_xy, self.test_x, self.test_y = read_dataset(dataset, dataset_args)
Beispiel #2
0
 def init_data_reading(self, train_data_spec):
     train_dataset, train_dataset_args = read_data_args(train_data_spec)
     self.train_sets, self.train_xy, self.train_x, self.train_y = read_dataset(train_dataset, train_dataset_args)
Beispiel #3
0
 def init_data_reading(self, train_data_spec, valid_data_spec = None):
     train_dataset, train_dataset_args = read_data_args(train_data_spec)
     if valid_data_spec is not None:
         valid_dataset, valid_dataset_args = read_data_args(valid_data_spec)
         self.valid_sets, self.valid_xy, self.valid_x, self.valid_y = read_dataset(valid_dataset, valid_dataset_args)
     self.train_sets, self.train_xy, self.train_x, self.train_y = read_dataset(train_dataset, train_dataset_args)