示例#1
0
def ds_pathfinder_4e3():
    """ The 'pathfinder' dataset with 4e3 samples"""
    configuration = dict()
    configuration['label'] = 'ds_pathfinder_4e3'
    configuration['sourcepath'] = testutil.bif_folder / 'pathfinder.bif'
    configuration['sample_count'] = int(4e3)
    configuration['random_seed'] = 97
    configuration['values_as_indices'] = True
    configuration['objectives'] = []
    return testutil.MockDataset(configuration)
示例#2
0
def dataset(size):
    configuration = dict()
    configuration['label'] = 'ds_lc_repaired_{}'.format(int(size))
    configuration['sourcepath'] = testutil.bif_folder / 'lc_repaired.bif'
    configuration['sample_count'] = int(size)
    configuration['values_as_indices'] = True
    configuration['objectives'] = []
    configuration['method'] = 'exact'
    configuration['random_seed'] = 1984
    return testutil.MockDataset(configuration)
示例#3
0
def ds_survey_5e2():
    """The 'survey' dataset with 5e2 samples"""
    configuration = dict()
    configuration['label'] = 'ds_survey_5e2'
    configuration['sourcepath'] = testutil.bif_folder / 'survey.bif'
    configuration['sample_count'] = int(5e2)
    configuration['random_seed'] = 44 * 40 + 1
    configuration['values_as_indices'] = True
    configuration['objectives'] = []
    return testutil.MockDataset(configuration)
示例#4
0
def ds_alarm_3e2():
    configuration = dict()
    configuration['label'] = 'ds_alarm_3e2'
    configuration['sourcepath'] = testutil.bif_folder / 'alarm.bif'
    configuration['sample_count'] = int(3e2)
    configuration['values_as_indices'] = True
    configuration['objectives'] = []
    configuration['random_seed'] = 1983
    configuration['method'] = 'random'
    return testutil.MockDataset(configuration)
示例#5
0
def ds_alarm_4e4():
    """ The 'alarm' dataset with 4e4 samples"""
    configuration = dict()
    configuration['label'] = 'ds_alarm_4e4'
    configuration['sourcepath'] = testutil.bif_folder / 'alarm.bif'
    configuration['sample_count'] = int(4e4)
    configuration['random_seed'] = 235711131719
    configuration['values_as_indices'] = True
    configuration['objectives'] = []
    return testutil.MockDataset(configuration)
示例#6
0
def ds_lungcancer_4e4():
    """ The 'lungcancer' dataset with 4e4 samples"""
    configuration = dict()
    configuration['label'] = 'ds_lungcancer_4e4'
    configuration['sourcepath'] = testutil.bif_folder / 'lungcancer.bif'
    configuration['sample_count'] = int(4e4)
    configuration['random_seed'] = 129
    configuration['values_as_indices'] = False
    configuration['objectives'] = []
    return testutil.MockDataset(configuration)