Physics-guided machine learning for formability assessments