Example #1
0
def get_reader():
    reader = CSVDriver(transformer=ART_transformer)
    reader.set_data_source('census-income.data')
    # reader.set_input_bounds([[0.0, 200.0], [0.0, 50000.0]])
    reader.set_input_bounds([[0.0, 200.0]])
    reader.set_sensitiveness([True])
    return reader
Example #2
0
def get_reader():
    reader = CSVDriver(transformer=ART_transformer)
    reader.set_data_source('census-income.data')
    # reader.set_input_bounds([[0.0, 200.0], [0.0, 50000.0]])
    reader.set_input_bounds([[0.0, 200.0]])
    reader.set_sensitiveness([True])
    return reader
Example #3
0
def get_reader():
    reader = CSVDriver(transformer=ART_transformer)
    reader.set_data_source('ds1.10.csv')
    reader.set_input_bounds([[-13.4531, -0.010748], [-6.4655, 5.9762],
                             [-7.5628, 5.6764], [-4.7937, 5.3849],
                             [-6.9696, 4.7242], [-5.0108, 6.466],
                             [-4.6077, 6.3295], [-4.9134, 4.5263],
                             [-5.12, 4.7116], [-3.4201, 4.9505]])
    reader.set_sensitiveness(
        [True, True, True, True, True, True, True, True, True, True])
    return reader
Example #4
0
def get_reader():
    reader = CSVDriver(transformer=ART_transformer)
    reader.set_data_source('ds1.10.csv')
    reader.set_input_bounds([[-13.4531, -0.010748],
                             [-6.4655, 5.9762],
                             [-7.5628, 5.6764],
                             [-4.7937, 5.3849],
                             [-6.9696, 4.7242],
                             [-5.0108, 6.466],
                             [-4.6077, 6.3295],
                             [-4.9134, 4.5263],
                             [-5.12, 4.7116],
                             [-3.4201, 4.9505]])
    reader.set_sensitiveness([True, True, True, True, True, True, True, True, True, True])
    return reader
Example #5
0
def get_reader():
    reader = CSVDriver(filter=ART_filter, transformer=ART_transformer, delimiter=' ')
    reader.set_data_source('sensordb.txt')
    reader.set_input_bounds([[0, 0], [0, 1]])
    reader.set_sensitiveness([False, True])
    return reader