Exploring Cosmology And Astrophysics With Cosmic Structure And Simulations: Cosmic Strings, The Lyman- Forest, And Machine Learning