''' Created on Mar 29, 2012 @author: charles ''' import all_datasets from utils import sub_pairs names = ['Comp', 'Vehicle', 'breathalyzer', 'haberman', 'dermatology'] named_data_sets = sub_pairs(all_datasets.named_data_sets, names)
''' Created on Mar 29, 2012 @author: charles ''' import non_textual from utils import sub_pairs names = ['iris', 'dermatology', 'wine', 'zoo'] named_data_sets = sub_pairs(non_textual.named_data_sets, names)
def create_sub_experiment(self, keys): new_exp = self.copy() new_exp.named_experiment_variations = sub_pairs(self.named_experiment_variations, keys) return new_exp