def run_wrapper( params ):
	global run_counter
	global o_f
	
	run_counter += 1
	print "run", run_counter
	
	s = time()
	rmse = run_test( params )
	
	print
	print "RMSE:", rmse
	print "elapsed: {}s \n".format( int( round( time() - s )))

	writer.writerow( [ rmse ] + list( params ))
	o_f.flush()
	return rmse
dataset/ETHPy150Open zygmuntz/kaggle-burn-cpu/two_layers_relu_driver.py/run_wrapper/original