Bridging the gap between quantum mechanics and experiments with atomistic materials simulations using machine learning