def silhouette(max_iters=<NUM_LIT:100>, optimize=True, plot=True):
try:import pods<EOL>except ImportError:<EOL><INDENT>print('<STR_LIT>')<EOL>return<EOL><DEDENT>data = pods.datasets.silhouette()<EOL>m = GPy.models.GPRegression(data['<STR_LIT:X>'], data['<STR_LIT:Y>'])<EOL>if optimize:<EOL><INDENT>m.optimize(messages=True, max_iters=max_iters)<EOL><DEDENT>print(m)<EOL>return m<EOL>
Predict the pose of a figure given a silhouette. This is a task from Agarwal and Triggs 2004 ICML paper.