Nonlinear machine learning and design of reconfigurable digital colloids.