Text this: Improving the performance of damage repair in thin-walled structures with analytical data and machine learning algorithms