def load_data(self): """ When a dataset loads we will have to return the following to the program test_data, test_label, train_data,train_label """ no_classes = 5 test_data, test_label, train_data, train_label = load_data_from_mat(self.directory_path, no_classes) return test_data, test_label, train_data, train_label
def load_data(self): ''' When a dataset loads we will have to return the following to the program test_data, test_label, train_data,train_label ''' no_classes = 10 test_data,test_label,train_data,train_label = load_data_from_mat(self.directory_path,no_classes,crossvalidation=self.crossvalidation) return test_data,test_label,train_data,train_label
def load_data(self): ''' When a dataset loads we will have to return the following to the program test_data, test_label, train_data,train_label ''' ''' data_files = load(self.processed_data_filename+'.npz') test_data = data_files['test_data'] test_label = data_files['test_label'] train_data = data_files['train_data'] train_label = data_files['train_label'] ''' no_classes = 3 test_data,test_label,train_data,train_label = load_data_from_mat(self.directory_path,no_classes,crossvalidation=self.crossvalidation) return test_data,test_label,train_data,train_label