Stargazing with Computers: What Machine Learning Can Teach Us about the Cosmos