#NEWLINE# def i_create_a_batch_prediction_logistic_model( step ) : #NEWLINE# #INDENT# dataset = world . dataset . get ( 'resource' ) #NEWLINE# logistic = world . logistic_regression . get ( 'resource' ) #NEWLINE# resource = world . api . create_batch_prediction ( logistic , dataset ) #NEWLINE# world . status = resource [ 'code' ] #NEWLINE# assert ( world . status == HTTP_CREATED ) #NEWLINE# world . location = resource [ 'location' ] #NEWLINE# world . batch_prediction = resource [ 'object' ] #NEWLINE# world . batch_predictions . append ( resource [ 'resource' ] )