Machine Learning for Automatic Structure Analysis and Experimental Design