Machine Learning Algorithm for Fatigue Fields in Additive Manufacturing