Machine Learning Aided Stochastic Analysis For Functionally Graded Structures