<s> """<STR_LIT>""" <EOL> import numpy <EOL> from pylearn2 . datasets . adult import adult <EOL> from pylearn2 . testing . skip import skip_if_no_data <EOL> def test_adult ( ) : <EOL> """<STR_LIT>""" <EOL> skip_if_no_data ( ) <EOL> adult_train = adult ( which_set = '<STR_LIT:train>' ) <EOL> assert ( adult_train . X >= <NUM_LIT:0.> ) . all ( ) <EOL> assert adult_train . y . dtype == bool <EOL> assert adult_train . X . shape == ( <NUM_LIT> , <NUM_LIT> ) <EOL> assert adult_train . y . shape == ( <NUM_LIT> , <NUM_LIT:1> ) <EOL> adult_test = adult ( which_set = '<STR_LIT:test>' ) <EOL> assert ( adult_test . X >= <NUM_LIT:0.> ) . all ( ) <EOL> assert adult_test . y . dtype == bool <EOL> assert adult_test . X . shape == ( <NUM_LIT> , <NUM_LIT> ) <EOL> assert adult_test . y . shape == ( <NUM_LIT> , <NUM_LIT:1> ) </s>
