Uncertainty Quantification of Locally Nonlinear Dynamical Systems using Neural Networks