Machine learning for structure-guided materials and process design