Self-configuration from a Machine-Learning Perspective