An Integrated Machine Learning And Finite Element Analysis Framework, Applied To Composite Substructures Including Damage