def robot_wireless(max_iters=<NUM_LIT:100>, kernel=None, optimize=True, plot=True):
try:import pods<EOL>except ImportError:<EOL><INDENT>print('<STR_LIT>')<EOL>return<EOL><DEDENT>data = pods.datasets.robot_wireless()<EOL>m = GPy.models.GPRegression(data['<STR_LIT:Y>'], data['<STR_LIT:X>'], kernel=kernel)<EOL>if optimize:<EOL><INDENT>m.optimize(max_iters=max_iters)<EOL><DEDENT>Xpredict = m.predict(data['<STR_LIT>'])[<NUM_LIT:0>]<EOL>if plot:<EOL><INDENT>pb.plot(data['<STR_LIT>'][:, <NUM_LIT:0>], data['<STR_LIT>'][:, <NUM_LIT:1>], '<STR_LIT>')<EOL>pb.plot(Xpredict[:, <NUM_LIT:0>], Xpredict[:, <NUM_LIT:1>], '<STR_LIT>')<EOL>pb.axis('<STR_LIT>')<EOL>pb.title('<STR_LIT>')<EOL>pb.legend(('<STR_LIT>', '<STR_LIT>'))<EOL><DEDENT>sse = ((data['<STR_LIT>'] - Xpredict)**<NUM_LIT:2>).sum()<EOL>print(('<STR_LIT>' + str(sse)))<EOL>return m<EOL>
Predict the location of a robot given wirelss signal strength readings.